diff options
author | 2016-11-28 16:19:20 +0800 | |
---|---|---|
committer | 2016-11-29 14:46:22 -0800 | |
commit | bc8f167f9c4656b7a972936237e9c38e6ab80c67 (patch) | |
tree | 5a8e38d74ff8ffb0e3916bbf977e2c34b4134e66 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid5-cache: use ring add to prevent overflow (diff) | |
download | wireguard-linux-bc8f167f9c4656b7a972936237e9c38e6ab80c67.tar.xz wireguard-linux-bc8f167f9c4656b7a972936237e9c38e6ab80c67.zip |
md/raid5-cache: release the stripe_head at the appropriate location
If we released the 'stripe_head' in r5c_recovery_flush_log,
ctx->cached_list will both release the data-parity stripes and
data-only stripes, which will become empty.
And we also need to use the data-only stripes in
r5c_recovery_rewrite_data_only_stripes, so we should wait util rewrite
data-only stripes is done before releasing them.
Reviewed-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Reviewed-by: Song Liu <songliubraving@fb.com>
Signed-off-by: JackieLiu <liuyun01@kylinos.cn>
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