64 characters isn't all that long. 4096 ought to be enough for anyone.
Fixes: #6072
Backport: dumpling, cuttlefish
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit
3c0042cde5a12de0f554a16b227ab437c6254ddd)
Conflicts:
src/pybind/rbd.py
def parent_info(self):
ret = -errno.ERANGE
size = 8;
- while ret == -errno.ERANGE and size < 128:
+ while ret == -errno.ERANGE and size <= 4096:
pool = create_string_buffer(size)
name = create_string_buffer(size)
snapname = create_string_buffer(size)