[libvirt] [PATCH 0/3] Various RBD storage pool changes

Wido den Hollander wido at widodh.nl
Wed Feb 12 14:11:31 UTC 2014


This series of patches changes a couple of things in the RBD storage pool
driver.

The first change is that it includes the return status of librados and librbd
in log and debug messages making it easier for users to track down the real
cause of the problem.

The second patch simplifies some code.

The third patch leverages the new timeout options from librados. Should the
backing Ceph cluster not respond for any reason librados will timeout.

This prevents libvirt from handing on a rados_* or rbd_* call and locking up
libvirt.

If the librados version on the system does not support these timeout options
nothing happens. libvirt compiles and runs just fine, but the timeout simply
won't work.

Wido den Hollander (3):
  rbd: Include return statusses from librados/librbd in logging
  rbd: Simplify opening RADOS IoCTX
  rbd: Set timeout options for librados

 src/storage/storage_backend_rbd.c |  137 ++++++++++++++++++++++---------------
 1 file changed, 80 insertions(+), 57 deletions(-)

-- 
1.7.9.5




More information about the libvir-list mailing list