diff options
author | 2014-10-29 14:37:22 -0700 | |
---|---|---|
committer | 2014-11-04 17:34:14 -0800 | |
commit | 6a8f8ca582a1bafe6b620e000316206c8719f1d0 (patch) | |
tree | c66b23b131af9dceb04004d8851cbcbb17467bba /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f2fs: send discard commands in larger extent (diff) | |
download | wireguard-linux-6a8f8ca582a1bafe6b620e000316206c8719f1d0.tar.xz wireguard-linux-6a8f8ca582a1bafe6b620e000316206c8719f1d0.zip |
f2fs: avoid race condition in handling wait_io
__submit_merged_bio f2fs_write_end_io f2fs_write_end_io
wait_io = X wait_io = x
complete(X) complete(X)
wait_io = NULL
wait_for_completion()
free(X)
spin_lock(X)
kernel panic
In order to avoid this, this patch removes the wait_io facility.
Instead, we can use wait_on_all_pages_writeback(sbi) to wait for end_ios.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions