Project

General

Profile

Actions

Bug #1397

closed

rbd_list and rados_pool_list differ

Added by Damien Churchill over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librbd
Target version:
% 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.

Actions #1

Updated by Sage Weil over 12 years ago

  • Target version set to v0.34
Actions #2

Updated by Sage Weil over 12 years ago

  • Category set to librbd
  • Status changed from New to Resolved
Actions

Also available in: Atom PDF