[PATCH 0/4] Wrong allocation size displayed for NFS volumes

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1077068

The virsh vol-info (and virsh domblkinfo) commands return an incorrect
size if the target device is an NFS volume.  These patches will add a
check for the target being NFS and rather than calculate the size based
on "st_blocks" and "DEV_BSIZE" (512) use the "st_size" value instead.

John Ferlan (4):
  virfile: Split virFileGetFSFtype
  virfile: Introduce virFileIsNFSFSType
  vol-info: Check for NFS FS type
  domblkinfo: Check for NFS FS Type

 src/libvirt_private.syms      |  1 +
 src/qemu/qemu_driver.c        |  7 ++++--
 src/storage/storage_backend.c |  7 ++++--
 src/util/virfile.c            | 53 +++++++++++++++++++++++++++++++++++--------
 src/util/virfile.h            |  1 +
 5 files changed, 55 insertions(+), 14 deletions(-)

-- 
1.9.3

--
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]