diff options
author | 2017-03-15 14:05:12 +1100 | |
---|---|---|
committer | 2017-03-22 19:16:12 -0700 | |
commit | bd83d0a28c68bacba88a3193a1bd6a083bb8d9f5 (patch) | |
tree | f12df651c211e4d0faa4104e41e51c37417a7d93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid5: simplfy delaying of writes while metadata is updated. (diff) | |
download | wireguard-linux-bd83d0a28c68bacba88a3193a1bd6a083bb8d9f5.tar.xz wireguard-linux-bd83d0a28c68bacba88a3193a1bd6a083bb8d9f5.zip |
md/raid5: call bio_endio() directly rather than queueing for later.
We currently gather bios that need to be returned into a bio_list
and call bio_endio() on them all together.
The original reason for this was to avoid making the calls while
holding a spinlock.
Locking has changed a lot since then, and that reason is no longer
valid.
So discard return_io() and various return_bi lists, and just call
bio_endio() directly as needed.
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