aboutsummaryrefslogtreecommitdiff
path: root/net/ceph/string_table.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-02-08 18:57:48 +0100
committerIlya Dryomov <idryomov@gmail.com>2017-02-20 12:16:11 +0100
commitef9324bb11357c02a4f0529b806341e5b768d872 (patch)
treeb759205966ff836406bca39d89282334438d5007 /net/ceph/string_table.c
parent743efcffffc6620ab44ea9ec67c7e4e28dfa7742 (diff)
libceph: don't go through with the mapping if the PG is too wide
With EC overwrites maturing, the kernel client will be getting exposed to potentially very wide EC pools. While "min(pi->size, X)" works fine when the cluster is stable and happy, truncating OSD sets interferes with resend logic (ceph_is_new_interval(), etc). Abort the mapping if the pool is too wide, assigning the request to the homeless session. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'net/ceph/string_table.c')
0 files changed, 0 insertions, 0 deletions