rbd: set the remaining discard properties to enable support
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 7 Apr 2014 23:52:03 +0000 (16:52 -0700)
committerIlya Dryomov <idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:37 +0000 (21:03 +0400)
commitb76f82398c1017e303d87760e22125714010207f
tree9b607589ee16f3f9da01849a75733717c818b2c9
parentd3246fb0da5d70838469c01d5b6b11163b49cd86
rbd: set the remaining discard properties to enable support

max_discard_sectors must be set for the queue to support discard.
Operations implementing discard for rbd zero data, so report that.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c