linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zheng Liu <gnehzuil.liu@gmail.com>
To: lsf-pc@lists.linux-foundation.org
Cc: linux-fsdevel@vger.kernel.org
Subject: [LST/MM TOPIC] really non-blocking in aio stack
Date: Mon, 13 Feb 2012 23:35:09 +0800	[thread overview]
Message-ID: <20120213153509.GA7830@gmail.com> (raw)

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

             reply	other threads:[~2012-02-13 15:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 15:35 Zheng Liu [this message]
2012-02-13 16:34 ` [LST/MM TOPIC] really non-blocking in aio stack Zach Brown
2012-02-15  6:13   ` Zheng Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120213153509.GA7830@gmail.com \
    --to=gnehzuil.liu@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).