-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from pkoutoupis/staging/release_6.1
Staging/release 6.1
- Loading branch information
Showing
31 changed files
with
245 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
AUTHOR / MAINTAINER | ||
Petros Koutoupis <[email protected]> | ||
|
||
CONTRIBUTORS | ||
|
||
James Plummer | ||
Gustaf Ullberg | ||
Dmitry Trikoz | ||
Neo | ||
Efstathiou Efstathios | ||
Marcel Huber | ||
Steven Rudolph | ||
Oliver Rath | ||
Scott McGillivray | ||
Boian Berberov | ||
Shub77 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,10 +95,3 @@ Uninstalling modules for DKMS support | |
```console | ||
# make dkms-uninstall | ||
``` | ||
|
||
Contact | ||
------- | ||
|
||
If you have any questions or concerns, do not contact | ||
Petros Koutoupis (<[email protected]>). Instead, contact your | ||
congressman or congresswoman. I am trying to be politically correct here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/******************************************************************************* | ||
** Copyright © 2011-2019 Petros Koutoupis | ||
** Copyright © 2011 - 2020 Petros Koutoupis | ||
** All rights reserved. | ||
** | ||
** This program is free software: you can redistribute it and/or modify | ||
|
@@ -59,7 +59,7 @@ | |
} \ | ||
} while (0) | ||
|
||
#define VERSION_STR "6.0" | ||
#define VERSION_STR "6.1" | ||
#define DM_MSG_PREFIX "rapiddisk-cache" | ||
|
||
#define READCACHE 1 | ||
|
@@ -1239,7 +1239,7 @@ cache_status(struct dm_target *ti, status_type_t type, unsigned status_flags, | |
|
||
static struct target_type cache_target = { | ||
.name = "rapiddisk-cache", | ||
.version = {6, 0, 0}, | ||
.version = {6, 1, 0}, | ||
.module = THIS_MODULE, | ||
.ctr = cache_ctr, | ||
.dtr = cache_dtr, | ||
|
@@ -1281,4 +1281,4 @@ MODULE_LICENSE("GPL"); | |
MODULE_AUTHOR("Petros Koutoupis <[email protected]>"); | ||
MODULE_DESCRIPTION("RapidDisk-Cache DM target is a write-through caching target with RapidDisk volumes."); | ||
MODULE_VERSION(VERSION_STR); | ||
MODULE_INFO(Copyright, "Copyright 2010 - 2019 Petros Koutoupis"); | ||
MODULE_INFO(Copyright, "Copyright 2010 - 2020 Petros Koutoupis"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/******************************************************************************* | ||
** Copyright © 2011-2019 Petros Koutoupis | ||
** Copyright © 2011 - 2020 Petros Koutoupis | ||
** All rights reserved. | ||
** | ||
** This program is free software: you can redistribute it and/or modify | ||
|
@@ -41,7 +41,7 @@ | |
#include <linux/radix-tree.h> | ||
#include <linux/io.h> | ||
|
||
#define VERSION_STR "6.0" | ||
#define VERSION_STR "6.1" | ||
#define PREFIX "rapiddisk" | ||
#define BYTES_PER_SECTOR 512 | ||
#define MAX_RDSKS 128 | ||
|
@@ -703,10 +703,16 @@ static int attach_device(int size) | |
spin_lock_init(&rdsk->rdsk_lock); | ||
INIT_RADIX_TREE(&rdsk->rdsk_pages, GFP_ATOMIC); | ||
|
||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0) | ||
rdsk->rdsk_queue = blk_alloc_queue(rdsk_make_request, NUMA_NO_NODE); | ||
if (!rdsk->rdsk_queue) | ||
goto out_free_dev; | ||
#else | ||
rdsk->rdsk_queue = blk_alloc_queue(GFP_KERNEL); | ||
if (!rdsk->rdsk_queue) | ||
goto out_free_dev; | ||
blk_queue_make_request(rdsk->rdsk_queue, rdsk_make_request); | ||
#endif | ||
blk_queue_logical_block_size(rdsk->rdsk_queue, BYTES_PER_SECTOR); | ||
blk_queue_physical_block_size(rdsk->rdsk_queue, PAGE_SIZE); | ||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) | ||
|
@@ -857,4 +863,4 @@ MODULE_LICENSE("GPL"); | |
MODULE_AUTHOR("Petros Koutoupis <[email protected]>"); | ||
MODULE_DESCRIPTION("RapidDisk is an enhanced RAM disk block device driver."); | ||
MODULE_VERSION(VERSION_STR); | ||
MODULE_INFO(Copyright, "Copyright 2010 - 2019 Petros Koutoupis"); | ||
MODULE_INFO(Copyright, "Copyright 2010 - 2020 Petros Koutoupis"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Package: rapiddisk | ||
Version: 6.0-1 | ||
Version: 6.1-1 | ||
Section: base | ||
Priority: optional | ||
Architecture: amd64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Summary: The RapidDisk software defined advanced RAM drive and storage caching solution. | ||
Name: rapiddisk | ||
Version: 6.0 | ||
Version: 6.1 | ||
Release: 1 | ||
License: General Public License Version 2 | ||
Group: Applications/System | ||
|
@@ -79,6 +79,15 @@ rm -rf %{buildroot} | |
%doc %attr(0444,root,root) /usr/share/man/man1/* | ||
|
||
%changelog | ||
* Thu May 26 2020 Petros Koutoupis <[email protected]> | ||
- kernel: added support for 5.7 kernel | ||
- utility: fixed GCC compilation warnings | ||
- utility: code style cleanup | ||
- installer: additional dkms installation/removal cleanup (thank you Shub77) | ||
- documentation: fixed / updated README to reflect newer dkms installation/removal instructions | ||
- documentation: updated copyright dates | ||
- documentation: added AUTHORS file | ||
- misc: added experimental scripts to enable rapiddisk/cache on root device during boot (thank you Shub77) | ||
* Thu May 2 2019 Petros Koutoupis <[email protected]> | ||
- kernel: Fixed module compilation error with modern version of GCC. | ||
- utility: Remove dm-crypt code; Not sure why i had it in the first place. Doesn't really belong. Just use cryptsetup. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Summary: The RapidDisk software defined advanced RAM drive and storage caching solution. | ||
Name: rapiddisk | ||
Version: 6.0 | ||
Version: 6.1 | ||
Release: 1 | ||
License: General Public License Version 2 | ||
Group: Applications/System | ||
|
@@ -78,6 +78,15 @@ rm -rf %{buildroot} | |
%doc %attr(0444,root,root) /usr/share/man/man1/* | ||
|
||
%changelog | ||
* Thu May 26 2020 Petros Koutoupis <[email protected]> | ||
- kernel: added support for 5.7 kernel | ||
- utility: fixed GCC compilation warnings | ||
- utility: code style cleanup | ||
- installer: additional dkms installation/removal cleanup (thank you Shub77) | ||
- documentation: fixed / updated README to reflect newer dkms installation/removal instructions | ||
- documentation: updated copyright dates | ||
- documentation: added AUTHORS file | ||
- misc: added experimental scripts to enable rapiddisk/cache on root device during boot (thank you Shub77) | ||
* Thu May 2 2019 Petros Koutoupis <[email protected]> | ||
- kernel: Fixed module compilation error with modern version of GCC. | ||
- utility: Remove dm-crypt code; Not sure why i had it in the first place. Doesn't really belong. Just use cryptsetup. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Summary: The RapidDisk software defined advanced RAM drive and storage caching solution. | ||
Name: rapiddisk | ||
Version: 6.0 | ||
Version: 6.1 | ||
Release: 1 | ||
License: General Public License Version 2 | ||
Group: Applications/System | ||
|
@@ -78,6 +78,15 @@ rm -rf %{buildroot} | |
%doc %attr(0444,root,root) /usr/share/man/man1/* | ||
|
||
%changelog | ||
* Thu May 26 2020 Petros Koutoupis <[email protected]> | ||
- kernel: added support for 5.7 kernel | ||
- utility: fixed GCC compilation warnings | ||
- utility: code style cleanup | ||
- installer: additional dkms installation/removal cleanup (thank you Shub77) | ||
- documentation: fixed / updated README to reflect newer dkms installation/removal instructions | ||
- documentation: updated copyright dates | ||
- documentation: added AUTHORS file | ||
- misc: added experimental scripts to enable rapiddisk/cache on root device during boot (thank you Shub77) | ||
* Thu May 2 2019 Petros Koutoupis <[email protected]> | ||
- kernel: Fixed module compilation error with modern version of GCC. | ||
- utility: Remove dm-crypt code; Not sure why i had it in the first place. Doesn't really belong. Just use cryptsetup. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.