linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LST/MM TOPIC] really non-blocking in aio stack
@ 2012-02-13 15:35 Zheng Liu
  2012-02-13 16:34 ` Zach Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng Liu @ 2012-02-13 15:35 UTC (permalink / raw)
  To: lsf-pc; +Cc: linux-fsdevel

Hi all,

Currently native aio has been used in many critical applications like
innodb of MySQL and Nginx for a web server. But it is really not as
asynchronous as the user expects. __getblk() can be blocked by the 
metadata allocation, and get_reuqest() can sleep because of the queue
congestion. So the user is really annoyed by the delay. So we want to
improve it somehow to make it at least really non-blocking.

Although we have define EIOCBRETRY, it seems to me that it is not used
as perfect as it can. We can return a EIOCBRETRY when the underlying
work will be blocked, and the generic aio can be tuned to either do it
asynchronously or notify the user about the status and let the user
have been no finalization yet. So maybe we can take this chance to
discuss it since now at least it really hurts some very important
applications in the world.

I am sorry that I forgot to send a topic to mailing list before the 
deadline. Hope it isn't too late.

Regards,
Zheng

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-15  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13 15:35 [LST/MM TOPIC] really non-blocking in aio stack Zheng Liu
2012-02-13 16:34 ` Zach Brown
2012-02-15  6:13   ` Zheng Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).