From: Li Dongyang Date: Thu, 1 Sep 2011 10:39:10 +0000 (+0800) Subject: xen-blkback: Implement discard requests ('feature-discard') X-Git-Tag: v3.2-rc1~48^2~3^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3cb0d6adc4bbc70b5e37e49a6068e973545ead7;p=pandora-kernel.git 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 [v1: Fixed up pr_debug and commit description] Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed