[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tapdisk:check O_DIRECT on hole file for performance



Although tapdisk has been instead of tapdisk-ioemu, but it still used on some old xen-3.2.
So fix a performance problem here.
--

Kernel aio will retry when encounter a block doesn't allocated, then do async io,
but O_DIRECT flag was there, so io_wait on sync data.
And clean a little code style.

Signed-off-by: Wei Kong <weikong.cn@gmail.com>

Attachment: tapdisk_check_O_DIRECT_on_hole_file.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel