[PATCH 3/3] rbd: add discard support for rbd

2014-03-11 Thread Guangliang Zhao
This resolve: http://tracker.ceph.com/issues/190 Signed-off-by: Guangliang Zhao lucienc...@gmail.com --- drivers/block/rbd.c | 105 +-- 1 file changed, 93 insertions(+), 12 deletions(-) diff --git a/drivers/block/rbd.c

Re: [PATCH 3/3] rbd: add discard support for rbd

2014-03-11 Thread Alex Elder
On 03/11/2014 11:24 PM, Guangliang Zhao wrote: This resolve: http://tracker.ceph.com/issues/190 This should have a bit more explanation here. Perhaps mention that a new DISCARD image request type flag is defined which includes no data. A bunch of the changes here are just making minor