From: Li Dongyang Date: Thu, 1 Sep 2011 10:39:09 +0000 (+0800) Subject: xen-blkfront: Handle discard requests. X-Git-Tag: v3.2-rc1~48^2~3^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed30bf317c5ceb25166cdbce3e0b35e33c82b509;p=pandora-kernel.git xen-blkfront: Handle discard requests. If the backend advertises 'feature-discard', then interrogate the backend for alignment and granularity. Setup the request queue with the appropiate values and send the discard operation as required. Signed-off-by: Li Dongyang [v1: Amended commit description] Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed