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)
commite30b7577bf1d338ca8a273bd2f881de5a41572b7
tree5aa8f15f8b23b7a8c88e0348eed7e2128ba45350
parent0d9fde4fc8f59a6bd316559d267a936b0737d05a
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