]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: use writefull op for object size writes
authorIlya Dryomov <idryomov@gmail.com>
Wed, 7 Oct 2015 15:27:17 +0000 (17:27 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 16 Oct 2015 14:49:01 +0000 (16:49 +0200)
commit99753f041df62ac2f24b1d631fdc660aaf90b554
tree5aa8f15f8b23b7a8c88e0348eed7e2128ba45350
parentf2c4ff7969666fd0ef8db7bfe4a20b4efefe89a4
rbd: use writefull op for object size writes

This covers only the simplest case - an object size sized write, but
it's still useful in tiering setups when EC is used for the base tier
as writefull op can be proxied, saving an object promotion.

Even though updating ceph_osdc_new_request() to allow writefull should
just be a matter of fixing an assert, I didn't do it because its only
user is cephfs.  All other sites were updated.

Reflects ceph.git commit 7bfb7f9025a8ee0d2305f49bf0336d2424da5b5b.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c
net/ceph/osd_client.c