From: Ilya Dryomov Date: Sat, 20 Feb 2016 17:26:57 +0000 (+0100) Subject: [DO NOT MERGE] rbd: bump RBD_MAX_PARENT_CHAIN_LEN to 128 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d0402f7ec66ea72e58be46c32679891094f6d7ef;p=ceph-client.git [DO NOT MERGE] rbd: bump RBD_MAX_PARENT_CHAIN_LEN to 128 Bump RBD_MAX_PARENT_CHAIN_LEN from 16 to 128 to avoid fsx failures. (The alternative is changing fsx to flatten unconditionally when the limit of 16 is reached, which is ugly and not needed for librbd.) --- diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 2b184563cd32e..77a6b0f87975e 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -89,7 +89,7 @@ static int atomic_dec_return_safe(atomic_t *v) #define RBD_MINORS_PER_MAJOR 256 #define RBD_SINGLE_MAJOR_PART_SHIFT 4 -#define RBD_MAX_PARENT_CHAIN_LEN 16 +#define RBD_MAX_PARENT_CHAIN_LEN 128 #define RBD_SNAP_DEV_NAME_PREFIX "snap_" #define RBD_MAX_SNAP_NAME_LEN \