diff options
author | NeilBrown <neilb@suse.de> | 2010-12-09 15:59:01 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-12-09 15:59:01 +1100 |
commit | 2b74e12e567feb4163e32815bce0be57489e73b9 (patch) | |
tree | 2eef8f977209a7e5ff88b4366bd72ccf59c8a987 /tools/perf/scripts/python/futex-contention.py | |
parent | be20e6c67b6c6024c19094d3447f144d118733b0 (diff) |
md: remove handling of flush_pending in md_submit_flush_data
None of the functions called between setting flush_pending to 1, and
atomic_dec_and_test can change flush_pending, or will anything
running in any other thread (as ->flush_bio is not NULL). So the
atomic_dec_and_test will always succeed.
So remove the atomic_sec and the atomic_dec_and_test.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions