]> 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)
commit65defdc59627aaa05c57e299137bd34d1c1a4ab7
tree5aa8f15f8b23b7a8c88e0348eed7e2128ba45350
parent5c7ca07a2706d739b852d48623d75af9d0126a86
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