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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Wei Kong <weikong.cn@xxxxxxxxx>
  • Date: Tue, 18 Aug 2009 10:42:42 +0800
  • Delivery-date: Mon, 17 Aug 2009 19:43:45 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NL3CGjBSC21U4itWTY6tWD48dHXtg8TqW5v4RHiXDfKpb9xSNvqV+AOioxFpPvzl0k nTfNBILqPpOnOF/iPB53IxjgzlMT+sTk6H0Pne2JEbWLc3frZEtAR8IM/sw8PnbYfXid jA1NNMQoh46jaTn2RUmInc26xsJjh6XyEN5CA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.