]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd13bc9c0764fdfd7cedf0a7906863e6f519b23d3
tree9b607589ee16f3f9da01849a75733717c818b2c9
parent34eb0fb65d1ea0ff78a1539089ca3522460ac949
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