summaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-12-17 11:41:15 +0100
committerKevin Wolf <kwolf@redhat.com>2010-12-17 16:11:03 +0100
commitdce512dedf2b842f453f8b20d6ca37ce283103da (patch)
treed888752e951bfea5d798eedc392d516a0e68f4d7 /qemu-io.c
parentedff5db1f50fd89e807f3fb518c77af7531e8117 (diff)
downloadqemu-dce512dedf2b842f453f8b20d6ca37ce283103da.tar.gz
raw-posix: add discard support
Add support to discard blocks in a raw image residing on an XFS filesystem by calling the XFS_IOC_UNRESVSP64 ioctl to punch holes. Support for other hole punching mechanisms can be added when they become available. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions