diff options
author | Christoph Hellwig <hch@lst.de> | 2010-12-17 11:41:15 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-12-17 16:11:03 +0100 |
commit | dce512dedf2b842f453f8b20d6ca37ce283103da (patch) | |
tree | d888752e951bfea5d798eedc392d516a0e68f4d7 /block/nbd.c | |
parent | edff5db1f50fd89e807f3fb518c77af7531e8117 (diff) |
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 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions