commit | ed30bf317c5ceb25166cdbce3e0b35e33c82b509 | [log] [tgz] |
---|---|---|
author | Li Dongyang <lidongyang@novell.com> | Thu Sep 01 18:39:09 2011 +0800 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu Oct 13 09:48:31 2011 -0400 |
tree | 112e4e184a29e64b618f83da873333abae25f11e | |
parent | b3cb0d6adc4bbc70b5e37e49a6068e973545ead7 [diff] |
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 <lidongyang@novell.com> [v1: Amended commit description] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>