diff options
author | 2017-02-10 16:18:09 -0800 | |
---|---|---|
committer | 2017-02-13 09:20:05 -0800 | |
commit | e33fbb9cc73d6502e69eaf1c178e0c39059763ea (patch) | |
tree | 3a75c9e524eab2facb854a41e970dfb86fc538c1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid5-cache: stripe reclaim only counts valid stripes (diff) | |
download | linux-rng-e33fbb9cc73d6502e69eaf1c178e0c39059763ea.tar.xz linux-rng-e33fbb9cc73d6502e69eaf1c178e0c39059763ea.zip |
md/raid5-cache: exclude reclaiming stripes in reclaim check
stripes which are being reclaimed are still accounted into cached
stripes. The reclaim takes time. r5c_do_reclaim isn't aware of the
stripes and does unnecessary stripe reclaim. In practice, I saw one
stripe is reclaimed one time. This will cause bad IO pattern. Fixing
this by excluding the reclaing stripes in the check.
Cc: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions