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>
Fri, 18 Nov 2011 18:28:05 +0000 (13:28 -0500)
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>

No differences found