]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
[DO NOT MERGE] rbd: bump RBD_MAX_PARENT_CHAIN_LEN to 128 wip-krb5-eod
authorIlya Dryomov <idryomov@gmail.com>
Sat, 20 Feb 2016 17:26:57 +0000 (18:26 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 7 Jan 2026 21:40:53 +0000 (22:40 +0100)
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.)

drivers/block/rbd.c

index 44f4dd6e98d990b8f3172c1693f9c8ac67f21afa..a93155f94b26ace040ffc512b7845304a691a6bf 100644 (file)
@@ -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  \