diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-02-08 18:57:48 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 12:16:11 +0100 |
commit | ef9324bb11357c02a4f0529b806341e5b768d872 (patch) | |
tree | b759205966ff836406bca39d89282334438d5007 /mm/memcontrol.c | |
parent | crush: merge working data and scratch (diff) | |
download | linux-ef9324bb11357c02a4f0529b806341e5b768d872.tar.xz linux-ef9324bb11357c02a4f0529b806341e5b768d872.zip |
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 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions