diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-05-30 14:58:25 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 20:45:59 +0200 |
commit | 690f951d7eb8c0529f8a367a3db9cfbfde624db4 (patch) | |
tree | 3a344d7abb1fd25121d22f4969e63220c01308b6 /fs/ceph | |
parent | libceph: avoid a use-after-free during map check (diff) | |
download | linux-690f951d7eb8c0529f8a367a3db9cfbfde624db4.tar.xz linux-690f951d7eb8c0529f8a367a3db9cfbfde624db4.zip |
libceph: don't abort reads in ceph_osdc_abort_on_full()
Don't consider reads for aborting and use ->base_oloc instead of
->target_oloc, as done in __submit_request().
Strictly speaking, we shouldn't be aborting FULL_TRY/FULL_FORCE writes
either. But, there is an inconsistency in FULL_TRY/FULL_FORCE handling
on the OSD side [1], so given that neither of these is used in the
kernel client, leave it for when the OSD behaviour is sorted out.
[1] http://tracker.ceph.com/issues/24339
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions