diff options
author | Asias He <[email protected]> | 2013-02-25 14:03:43 +0800 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2013-04-25 01:05:23 -0700 |
commit | 506427628afeb5d70eefdac1fe4c2a1ffb27df5f (patch) | |
tree | cd487389e9013909b44032d115f279944fea7a73 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 70d3ae5c80758cb2bf3cf1e0d5b2c89d040de90b (diff) |
target/file: Add UNMAP emulation support
This patch adds support for emulation of UNMAP within
fd_execute_unmap() backend code.
If the FILEIO backend is normal file, the emulation uses fallocate to
punch hole to reclaim the free space used by the file. If the FILEIO
backend is block device, the emulation uses blkdev_issue_discard().
Cc: Christoph Hellwig <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: Nicholas Bellinger <[email protected]>
Signed-off-by: Asias He <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions