Searched hist:"17 a7b1d74b1207f8f1af40b5d184989076d08f8b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | direct-io.c | diff 17a7b1d74b1207f8f1af40b5d184989076d08f8b Sun Dec 10 04:20:56 CST 2006 Zach Brown <zach.brown@oracle.com> [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>
|