diff options
author | 2017-03-15 14:05:14 +1100 | |
---|---|---|
committer | 2017-03-22 19:18:05 -0700 | |
commit | 84dd97a69092cef858483b775f1900d743d796a4 (patch) | |
tree | 9c51fa4a0af72be76d07d86fa2c4d19e1313e1c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid1: stop using bi_phys_segment (diff) | |
download | wireguard-linux-84dd97a69092cef858483b775f1900d743d796a4.tar.xz wireguard-linux-84dd97a69092cef858483b775f1900d743d796a4.zip |
md/raid5: don't test ->writes_pending in raid5_remove_disk
This test on ->writes_pending cannot be safe as the counter
can be incremented at any moment and cannot be locked against.
Change it to test conf->active_stripes, which at least
can be locked against. More changes are still needed.
A future patch will change ->writes_pending, and testing it here will
be very inconvenient.
Signed-off-by: NeilBrown <neilb@suse.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