Skip to content

Commit

Permalink
Pushing 4.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutoupis committed Nov 19, 2016
1 parent d6ef9af commit 05b7751
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Release 4.5 ###

- kernel: cache - Fixed I/O handler bug for 4.8+ kernels
- documentation: Cleaned up formatting and license disclaimers (thanks Boian!)

### Release 4.4 ###

- kernel: Update to 4.8 and 4.9 kernels.
Expand Down
2 changes: 1 addition & 1 deletion module/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

VERSION = 4.4
VERSION = 4.5

ifeq ($(KSRC),)
KSRC := /lib/modules/$(shell uname -r)/build
Expand Down
2 changes: 1 addition & 1 deletion module/dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="rapiddisk"
PACKAGE_VERSION="4.4"
PACKAGE_VERSION="4.5"
BUILT_MODULE_NAME[0]="rapiddisk"
BUILT_MODULE_NAME[1]="rapiddisk-cache"
DEST_MODULE_LOCATION[0]="/kernel/rapiddisk/"
Expand Down
5 changes: 3 additions & 2 deletions module/rapiddisk-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
} \
} while (0)

#define VERSION_STR "4.4"
#define VERSION_STR "4.5"
#define DM_MSG_PREFIX "rapiddisk-cache"

#define READCACHE 1
Expand Down Expand Up @@ -179,6 +179,7 @@ int dm_io_async_bvec(unsigned int num_regions, struct dm_io_region *where,

#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,8,0)
iorq.bi_op = rw;
iorq.bi_op_flags = 0;
#else
iorq.bi_rw = rw;
#endif
Expand Down Expand Up @@ -1204,7 +1205,7 @@ cache_status(struct dm_target *ti, status_type_t type, unsigned status_flags,

static struct target_type cache_target = {
.name = "rapiddisk-cache",
.version = {4, 4, 0},
.version = {4, 5, 0},
.module = THIS_MODULE,
.ctr = cache_ctr,
.dtr = cache_dtr,
Expand Down
2 changes: 1 addition & 1 deletion module/rapiddisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <linux/radix-tree.h>
#include <linux/io.h>

#define VERSION_STR "4.4"
#define VERSION_STR "4.5"
#define PREFIX "rapiddisk"
#define BYTES_PER_SECTOR 512
#define MAX_RDSKS 128
Expand Down
5 changes: 5 additions & 0 deletions pkg-mgmt/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
rapiddisk (4.5-1) released; urgency=medium

* kernel: cache - Fixed I/O handler bug for 4.8+ kernels
* documentation: Cleaned up formatting and license disclaimers (thanks Boian!)

rapiddisk (4.4-1) released; urgency=medium

* kernel: Update to 4.8 and 4.9 kernels.
Expand Down
2 changes: 1 addition & 1 deletion pkg-mgmt/debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: rapiddisk
Version: 4.4-1
Version: 4.5-1
Section: base
Priority: optional
Architecture: amd64
Expand Down
6 changes: 3 additions & 3 deletions pkg-mgmt/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fi
case "$1" in

configure)
dkms add -m rapiddisk -v 4.4
dkms build -m rapiddisk -v 4.4
dkms install -m rapiddisk -v 4.4
dkms add -m rapiddisk -v 4.5
dkms build -m rapiddisk -v 4.5
dkms install -m rapiddisk -v 4.5
echo "rapiddisk max_sectors=2048 nr_requests=1024" >> /etc/modules
echo "rapiddisk-cache" >> /etc/modules
echo "dm_mod" >> /etc/modules
Expand Down
2 changes: 1 addition & 1 deletion pkg-mgmt/debian/prerm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

case "$1" in
remove|upgrade|deconfigure)
dkms remove -m rapiddisk -v 4.4 --all
dkms remove -m rapiddisk -v 4.5 --all
;;

failed-upgrade)
Expand Down
5 changes: 4 additions & 1 deletion pkg-mgmt/spec/rapiddisk.spec.opensuse
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: 4.4
Version: 4.5
Release: 1
License: General Public License Version 2
Group: Applications/System
Expand Down Expand Up @@ -85,6 +85,9 @@ rm -rf %{buildroot}
%doc %attr(0444,root,root) /usr/share/man/man1/*

%changelog
* Sat Nov 19 2016 Petros Koutoupis <[email protected]>
- kernel: cache - Fixed I/O handler bug for 4.8+ kernels
- documentation: Cleaned up formatting and license disclaimers (thanks Boian!)
* Fri Oct 28 2016 Petros Koutoupis <[email protected]>
- kernel: Update to 4.8 and 4.9 kernels.
- build: Cleaned up Makefiles (thanks Marcel!)
Expand Down
5 changes: 4 additions & 1 deletion pkg-mgmt/spec/rapiddisk.spec.rhel
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: 4.4
Version: 4.5
Release: 1
License: General Public License Version 2
Group: Applications/System
Expand Down Expand Up @@ -85,6 +85,9 @@ rm -rf %{buildroot}
%doc %attr(0444,root,root) /usr/share/man/man1/*

%changelog
* Sat Nov 19 2016 Petros Koutoupis <[email protected]>
- kernel: cache - Fixed I/O handler bug for 4.8+ kernels
- documentation: Cleaned up formatting and license disclaimers (thanks Boian!)
* Fri Oct 28 2016 Petros Koutoupis <[email protected]>
- kernel: Update to 4.8 and 4.9 kernels.
- build: Cleaned up Makefiles (thanks Marcel!)
Expand Down
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

#define UTIL "rapiddisk"
#define COPYRIGHT "Copyright 2011-2016 Petros Koutoupis"
#define VERSION_NUM "4.4"
#define VERSION_NUM "4.5"
#define SUCCESS 0x0
#define NAMELEN 0x100
#define BYTES_PER_SECTOR 0x200
Expand Down

0 comments on commit 05b7751

Please sign in to comment.