summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-07-16 18:11:56 +0100
committerRichard Jones <rjones@redhat.com>2010-07-16 18:22:09 +0100
commit45a4cd79215752234c4a5a47fb4c9c6741b1594c (patch)
tree2bca3ecd9c8384d54fb21c3f02149c6f6e81f34c /src
parentd2cf9a15a9f22623dbbed33fb66c5077f1275df2 (diff)
downloadlibguestfs-45a4cd79215752234c4a5a47fb4c9c6741b1594c.tar.gz
libguestfs-45a4cd79215752234c4a5a47fb4c9c6741b1594c.tar.xz
libguestfs-45a4cd79215752234c4a5a47fb4c9c6741b1594c.zip
df: Minimize the number of times we launch the libguestfs appliance.
This commit greatly improves the performance of the 'virt-df' command by batching as many disks as possible onto a single appliance. In many situations this means the appliance is launched only once, versus one launch per domain as before. However doing it this way is a lot more complex: (1) Because of limits in Linux and virtio-blk, we can only attach 26 disks maximum at a time to the appliance. (2) We have to use LVM filters (lvm-set-filter) to confine LVM to the disks of a single guest.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions