diff options
author | Li Dongyang <lidongyang@novell.com> | 2011-09-01 12:39:10 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-10-13 15:48:30 +0200 |
commit | b3cb0d6adc4bbc70b5e37e49a6068e973545ead7 (patch) | |
tree | b52aeb45ea918b18c056aaeae2bb405d19100829 /drivers/block/xen-blkfront.c | |
parent | xen-blkfront: add BLKIF_OP_DISCARD and discard request struct (diff) | |
download | linux-b3cb0d6adc4bbc70b5e37e49a6068e973545ead7.tar.xz linux-b3cb0d6adc4bbc70b5e37e49a6068e973545ead7.zip |
xen-blkback: Implement discard requests ('feature-discard')
..aka ATA TRIM/SCSI UNMAP command to be passed through the frontend
and used as appropiately by the backend. We also advertise
certain granulity parameters to the frontend so it can plug them in.
If the backend is a realy device - we just end up using
'blkdev_issue_discard' while for loopback devices - we just punch
a hole in the image file.
Signed-off-by: Li Dongyang <lidongyang@novell.com>
[v1: Fixed up pr_debug and commit description]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions