]> 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)
commit07617f9595c23e74113b4324622c82e903622000
tree9b607589ee16f3f9da01849a75733717c818b2c9
parent43ef3497a766e1dd85ac758fc0a6719b64b3a9ab
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