UBUNTU: SAUCE: rbd: bump RBD_MAX_PARENT_CHAIN_LEN to 128

BugLink: https://bugs.launchpad.net/bugs/2032959

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.)

(cherry picked from https://github.com/ceph/ceph-client.git)
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Ilya Dryomov
2016-02-20 18:26:57 +01:00
committed by Paolo Pisati
parent 3a144fcb5f
commit ba9abcc0b8
+1 -1
View 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 \