Patch "rbd: whitelist RBD_FEATURE_OPERATIONS feature bit" has been added to the 4.14-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
rbd: whitelist RBD_FEATURE_OPERATIONS feature bit
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rbd-whitelist-rbd_feature_operations-feature-bit.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e573427a440fd67d3f522357d7ac901d59281948Mon Sep 17 00:00:00 2001
From: Ilya Dryomov <[email protected]>
Date: Tue, 16 Jan 2018 15:41:54 +0100
Subject: rbd: whitelist RBD_FEATURE_OPERATIONS feature bit
From: Ilya Dryomov <[email protected]>
commit e573427a440fd67d3f522357d7ac901d59281948 upstream.
This feature bit restricts older clients from performing certain maintenance operations against an image (e.g. clone, snap create). krbd does not perform maintenance operations.
--- drivers/block/rbd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/block/rbd.c +3 -1
@@ -124,11 +124,13 @@ static int atomic_dec_return_safe(atomic#define RBD_FEATURE_STRIPINGV2 (1ULL<<1)#define RBD_FEATURE_EXCLUSIVE_LOCK (1ULL<<2)#define RBD_FEATURE_DATA_POOL (1ULL<<7) +#define RBD_FEATURE_OPERATIONS (1ULL<<8)#define RBD_FEATURES_ALL (RBD_FEATURE_LAYERING | \ RBD_FEATURE_STRIPINGV2 | \ RBD_FEATURE_EXCLUSIVE_LOCK | \ - RBD_FEATURE_DATA_POOL) + RBD_FEATURE_DATA_POOL | \ + RBD_FEATURE_OPERATIONS)/* Features supported by this (client software) implementation. */
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/rbd-whitelist-rbd_feature_operations-feature-bit.patch