Searched hist:e8fd52eec2cd25b917983b3f3aa738b722522376 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/md/ |
H A D | raid5-cache.c | diff e8fd52eec2cd25b917983b3f3aa738b722522376 Sat Feb 11 01:18:08 CET 2017 Shaohua Li <shli@fb.com> md/raid5-cache: stripe reclaim only counts valid stripes
When log space is tight, we try to reclaim stripes from log head. There are stripes which can't be reclaimed right now if some conditions are met. We skip such stripes but accidentally count them, which might cause no stripes are claimed. Fixing this by only counting valid stripes.
Cc: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
|