Skip to content

Commit

Permalink
Merge pull request #102 from pkoutoupis/feature/prepare_8.2.0_release
Browse files Browse the repository at this point in the history
Preparing release 8.2.0
  • Loading branch information
pkoutoupis authored Jun 20, 2022
2 parents c94da5e + 1c7b10a commit a311249
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 20 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### Release 8.2.0 ###
- module: Fixed support for 5.14.
- documentation: Updated README files.
- utility: Fixed buffer overflow in NVMe structure.
- utility: Improved on MHD version check (thank you Matteo Tenca).
- utility: Clean up / optimize systemd service file.
- packaging: Improved and overhauled debian packaging (thank you Matteo Tenca).
- scripts: Optimized and fixed bugs for rapiddisk/cache on root during boot support (thank you Matteo Tenca).
- misc: Cleaned up Makefiles and impr ved dkms build/installation process.

### Release 8.1.0 ###

- module: Added support for 5.16 and 5.17 kernels (thank you Nitrooo)
Expand Down
22 changes: 11 additions & 11 deletions doc/API.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Web server API revision 1
-------------------------
GET /v1/checkServiceStatus

ex) curl -s --output - 127.0.0.1:9118/v1/checkServiceStatus|jq .
ex) curl -s --output - 127.0.0.1:9118/v1/checkServiceStatus|tail -n1|jq .

status code: 200 (on success)

Expand All @@ -17,7 +17,7 @@ Check the status of the daemon. Example output:
-------------------------
GET /v1/listAllResources

ex) curl -s --output - 127.0.0.1:9118/v1/listAllResources|jq .
ex) curl -s --output - 127.0.0.1:9118/v1/listAllResources|tail -n1|jq .

status code: 200 (on success)

Expand Down Expand Up @@ -49,7 +49,7 @@ Retrieve system resource information. Example output:
-------------------------
GET /v1/listRapidDiskVolumes

ex) curl -s --output - 127.0.0.1:9118/v1/listRapidDiskVolumes|jq .
ex) curl -s --output - 127.0.0.1:9118/v1/listRapidDiskVolumes|tail -n1|jq .

status code: 200 (on success)

Expand Down Expand Up @@ -85,7 +85,7 @@ Retrieve rapiddisk/cache information. Example output:
-------------------------
POST /v1/createRapidDisk/@size

ex) curl -X POST -s 127.0.0.1:9118/v1/createRapidDisk/128|jq .
ex) curl -X POST -s 127.0.0.1:9118/v1/createRapidDisk/128|tail -n1|jq .

status code: 200 (on success)

Expand All @@ -98,7 +98,7 @@ Create a rapiddisk volume. Example output:
-------------------------
POST /v1/resizeRapidDisk/@volume/@size

ex) curl -X POST -s 127.0.0.1:9118/v1/resizeRapidDisk/rd0/128|jq .
ex) curl -X POST -s 127.0.0.1:9118/v1/resizeRapidDisk/rd0/128|tail -n1|jq .

status code: 200 (on success)

Expand All @@ -111,7 +111,7 @@ Resize an existing rapiddisk volume. Example output:
-------------------------
POST /v1/flushRapidDisk/@volume

ex) curl -X POST -s 127.0.0.1:9118/v1/flushRapidDisk/rd0|jq .
ex) curl -X POST -s 127.0.0.1:9118/v1/flushRapidDisk/rd0|tail -n1|jq .

status code: 200 (on success)

Expand All @@ -124,7 +124,7 @@ Flush the memory of an existing rapiddisk volume. Example output:
-------------------------
POST /v1/removeRapidDisk/@volume

ex) curl -X POST -s 127.0.0.1:9118/v1/removeRapidDisk/rd0|jq .
ex) curl -X POST -s 127.0.0.1:9118/v1/removeRapidDisk/rd0|tail -n1|jq .

status code: 200 (on success)

Expand All @@ -137,7 +137,7 @@ Remove an existing rapiddisk volume. Example output:
-------------------------
POST /v1/createRapidDiskCache/@volume/@source/@policy

ex) curl -X POST -s 127.0.0.1:9118/v1/createRapidDiskCache/rd0/sdb/write-through|jq .
ex) curl -X POST -s 127.0.0.1:9118/v1/createRapidDiskCache/rd0/sdb/write-through|tail -n1|jq .

Supported caching policies:
* write-through
Expand All @@ -155,7 +155,7 @@ Create a rapiddisk-cache volume. Example output:
-------------------------
POST /v1/removeRapidDiskCache/@volume

ex) curl -X POST -s 127.0.0.1:9118/v1/removeRapidDiskCache/rc-wt_sdb|jq .
ex) curl -X POST -s 127.0.0.1:9118/v1/removeRapidDiskCache/rc-wt_sdb|tail -n1|jq .

status code: 200 (on success)

Expand Down Expand Up @@ -220,7 +220,7 @@ If it is writeback cache, it will look like this:
-------------------------
GET /v1/listAllNVMeTargets

ex) curl -s --output - 10.0.0.185:9118/v1/listAllNVMeTargets|jq .
ex) curl -s --output - 10.0.0.185:9118/v1/listAllNVMeTargets|tail -n1|jq .

status code: 200 (on success)

Expand Down Expand Up @@ -260,7 +260,7 @@ Retrieve cache statistics from an existing rapiddisk-cache volume. Example outpu
-------------------------
GET /v1/listAllNVMePorts

ex) curl -s --output - 10.0.0.185:9118/v1/listAllNVMePorts|jq .
ex) curl -s --output - 10.0.0.185:9118/v1/listAllNVMePorts|tail -n1|jq .

status code: 200 (on success)

Expand Down
2 changes: 1 addition & 1 deletion module/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only

VERSION = 8.1.0
VERSION = 8.2.0

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="8.1.0"
PACKAGE_VERSION="8.2.0"
BUILT_MODULE_NAME[0]="rapiddisk"
BUILT_MODULE_NAME[1]="rapiddisk-cache"
DEST_MODULE_LOCATION[0]="/kernel/rapiddisk/"
Expand Down
4 changes: 2 additions & 2 deletions module/rapiddisk-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
} \
} while (0)

#define VERSION_STR "8.1.0"
#define VERSION_STR "8.2.0"
#define DM_MSG_PREFIX "rapiddisk-cache"

#define READCACHE 1
Expand Down Expand Up @@ -1244,7 +1244,7 @@ cache_status(struct dm_target *ti, status_type_t type, unsigned status_flags,

static struct target_type cache_target = {
.name = "rapiddisk-cache",
.version = {8, 1, 0},
.version = {8, 2, 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 @@ -41,7 +41,7 @@
#include <linux/radix-tree.h>
#include <linux/io.h>

#define VERSION_STR "8.1.0"
#define VERSION_STR "8.2.0"
#define PREFIX "rapiddisk"
#define BYTES_PER_SECTOR 512
#define MAX_RDSKS 128
Expand Down
13 changes: 13 additions & 0 deletions pkg/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
rapiddisk (8.2.0-1) UNRELEASED; urgency=medium

* module: Fixed support for 5.14.
* documentation: Updated README files.
* utility: Fixed buffer overflow in NVMe structure.
* utility: Improved on MHD version check (thank you Matteo Tenca).
* utility: Clean up / optimize systemd service file.
* packaging: Improved and overhauled debian packaging (thank you Matteo Tenca).
* scripts: Optimized and fixed bugs for rapiddisk/cache on root during boot support (thank you Matteo Tenca).
* misc: Cleaned up Makefiles and impr ved dkms build/installation process.

-- Petros Koutoupis <[email protected]> Sat, 11 Jun 2022 13:48:57 +0000

rapiddisk (8.1.0-1) UNRELEASED; urgency=medium

* module: Added support for 5.16 and 5.17 kernels (thank you Nitrooo)
Expand Down
11 changes: 10 additions & 1 deletion pkg/rpm/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: 8.1.0
Version: 8.2.0
Release: 1
License: General Public License Version 2
Group: Applications/System
Expand Down Expand Up @@ -80,6 +80,15 @@ rm -rf %{buildroot}
%doc %attr(0444,root,root) /usr/share/man/man1/*

%changelog
* Sat Jun 11 2022 Petros Koutoupis <[email protected]>
- module: Fixed support for 5.14.
- documentation: Updated README files.
- utility: Fixed buffer overflow in NVMe structure.
- utility: Improved on MHD version check (thank you Matteo Tenca).
- utility: Clean up / optimize systemd service file.
- packaging: Improved and overhauled debian packaging (thank you Matteo Tenca).
- scripts: Optimized and fixed bugs for rapiddisk/cache on root during boot support (thank you Matteo Tenca).
- misc: Cleaned up Makefiles and impr ved dkms build/installation process.
* Fri Feb 11 2022 Petros Koutoupis <[email protected]>
- module: Added support for 5.16 and 5.17 kernels (thank you Nitrooo)
- module: Fixed queue allocation defect for 5.15 kernel (thank you Nitrooo)
Expand Down
11 changes: 10 additions & 1 deletion pkg/rpm/rapiddisk.spec.sles
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: 8.1.0
Version: 8.2.0
Release: 1
License: General Public License Version 2
Group: Applications/System
Expand Down Expand Up @@ -81,6 +81,15 @@ rm -rf %{buildroot}
%doc %attr(0444,root,root) /usr/share/man/man1/*

%changelog
* Sat Jun 11 2022 Petros Koutoupis <[email protected]>
- module: Fixed support for 5.14.
- documentation: Updated README files.
- utility: Fixed buffer overflow in NVMe structure.
- utility: Improved on MHD version check (thank you Matteo Tenca).
- utility: Clean up / optimize systemd service file.
- packaging: Improved and overhauled debian packaging (thank you Matteo Tenca).
- scripts: Optimized and fixed bugs for rapiddisk/cache on root during boot support (thank you Matteo Tenca).
- misc: Cleaned up Makefiles and impr ved dkms build/installation process.
* Fri Feb 11 2022 Petros Koutoupis <[email protected]>
- module: Added support for 5.16 and 5.17 kernels (thank you Nitrooo)
- module: Fixed queue allocation defect for 5.15 kernel (thank you Nitrooo)
Expand Down
2 changes: 1 addition & 1 deletion scripts/rapiddisk-legacy/rapiddisk-legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi
## usage ##
function help_menu()
{
echo -e "$1 8.1.0"
echo -e "$1 8.2.0"
echo -e "Copyright 2011 - 2022 Petros Koutoupis"
echo -e ""
echo -e "$1 is an administration tool to manage the RapidDisk RAM disk devices and"
Expand Down
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#define PROCESS "rapiddisk"
#define DAEMON PROCESS "d"
#define COPYRIGHT "Copyright 2011 - 2022 Petros Koutoupis"
#define VERSION_NUM "8.1.0"
#define VERSION_NUM "8.2.0"
#define SUCCESS 0
#define INVALID_VALUE -1
#define NAMELEN 0x200
Expand Down

0 comments on commit a311249

Please sign in to comment.