diff options
author | Zach Brown <zach.brown@oracle.com> | 2006-12-10 02:20:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 09:57:21 -0800 |
commit | 17a7b1d74b1207f8f1af40b5d184989076d08f8b (patch) | |
tree | 18dceaf00a1ae275fb770c83cec0eae81662352a /fs/gfs2 | |
parent | 6d544bb4d9019c3a0d7ee4af1e4bbbd61a6e16dc (diff) | |
download | linux-17a7b1d74b1207f8f1af40b5d184989076d08f8b.tar.bz2 |
[PATCH] dio: call blk_run_address_space() once per op
We only need to call blk_run_address_space() once after all the bios for the
direct IO op have been submitted. This removes the chance of calling
blk_run_address_space() after spurious wake ups as the sync path waits for
bios to drain. It's also one less difference betwen the sync and async paths.
In the process we remove a redundant dio_bio_submit() that its caller had
already performed.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Suparna Bhattacharya <suparna@in.ibm.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions