diff options
author | Li Dongyang <lidongyang@novell.com> | 2011-11-10 08:52:06 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-11-18 19:28:05 +0100 |
commit | ae18be11b5ccc3be9e268592616488c5f9d987f5 (patch) | |
tree | 4f8a98990f946d8d82ffdb4d43c1120cd4e97a26 /drivers/block/xen-blkfront.c | |
parent | xen/blkback: Move processing of BLKIF_OP_DISCARD from dispatch_rw_block_io (diff) | |
download | linux-ae18be11b5ccc3be9e268592616488c5f9d987f5.tar.xz linux-ae18be11b5ccc3be9e268592616488c5f9d987f5.zip |
xen-blkback: convert hole punching to discard request on loop devices
As of dfaa2ef68e80c378e610e3c8c536f1c239e8d3ef, loop devices support
discard request now. We could just issue a discard request, and
the loop driver will punch the hole for us, so we don't need to touch
the internals of loop device and punch the hole ourselves, Thanks.
V0->V1: rebased on devel/for-jens-3.3
Signed-off-by: Li Dongyang <lidongyang@novell.com>
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