[PATCH 0/3] Various RBD storage pool changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]