summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.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 /mm/memcontrol.c
parentcrush: merge working data and scratch (diff)
downloadlinux-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