summaryrefslogtreecommitdiff
path: root/drivers/md/dm-log-userspace-base.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2016-12-01 03:57:54 +0300
committerShaohua Li <shli@fb.com>2016-12-02 23:03:52 +0300
commitf687a33ef02d3e0f13c4fa9e3b2e90f656bbfb26 (patch)
treed99bd62ff9389999b1e380087db5534b89e46f46 /drivers/md/dm-log-userspace-base.c
parente8d7c33232e5fdfa761c3416539bc5b4acd12db5 (diff)
downloadlinux-f687a33ef02d3e0f13c4fa9e3b2e90f656bbfb26.tar.xz
md/r5cache: run_no_space_stripes() when R5C_LOG_CRITICAL == 0
With writeback cache, we define log space critical as free_space < 2 * reclaim_required_space So the deassert of R5C_LOG_CRITICAL could happen when 1. free_space increases 2. reclaim_required_space decreases Currently, run_no_space_stripes() is called when 1 happens, but not (always) when 2 happens. With this patch, run_no_space_stripes() is call when R5C_LOG_CRITICAL is cleared. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/dm-log-userspace-base.c')
0 files changed, 0 insertions, 0 deletions