]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: make abort_on_full a per-osdc setting
authorIlya Dryomov <idryomov@gmail.com>
Wed, 30 May 2018 14:29:14 +0000 (16:29 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 4 Jun 2018 18:46:00 +0000 (20:46 +0200)
commit8603be1888f7875f53e9f3abfeaf5171921e5b35
tree7e8c0e4e299aab12bc529379f0db84ef09d4cee7
parent17cafd998274dc4ce34e2623b87146b9777b79bc
libceph: make abort_on_full a per-osdc setting

The intent behind making it a per-request setting was that it would be
set for writes, but not for reads.  As it is, the flag is set for all
fs/ceph requests except for pool perm check stat request (technically
a read).

ceph_osdc_abort_on_full() skips reads since the previous commit and
I don't see a use case for marking individual requests.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
fs/ceph/addr.c
fs/ceph/file.c
fs/ceph/super.c
include/linux/ceph/osd_client.h
net/ceph/osd_client.c