]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-blkback: convert hole punching to discard request on loop devices
authorLi Dongyang <lidongyang@novell.com>
Thu, 10 Nov 2011 07:52:06 +0000 (15:52 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 13 Dec 2011 15:38:17 +0000 (10:38 -0500)
commit7139323c5ef7b342d770efef6ae463ff201e3d83
tree5b036693d48312f6cb97c03fffb7d1edeb58f264
parentd37dfdd24483caaca512e044993b074889e14abd
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>
drivers/block/xen-blkback/blkback.c