Actions
Bug #1397
closedrbd_list and rados_pool_list differ
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Using the C API the rbd_list
and rados_pool_list
functions differ in how you call them, and what they return, which isn't too intuitive. From what I could gather rbd_list
returns the number of names contained within the char *names
whereas rados_pool_list
returns the number of characters so you can retry with a bigger buffer if need be.
Updated by Sage Weil over 12 years ago
- Category set to librbd
- Status changed from New to Resolved
yup! fixed by a724bc4667a0cc1a058343459845a38ca631ff1c
Actions