commit | b2e12bc6e304c17da0bee970fb4776d0731422e6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Sep 04 19:01:49 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Sep 11 10:19:46 2009 -0500 |
tree | 5b8bc0ee1ab758a5b68c51e8ba5288f87b36af9c | |
parent | 6f1953c4c14566d3303709869fd26201828b3ccf [diff] |
block: add aio_flush operation Instead stalling the VCPU while serving a cache flush try to do it asynchronously. Use our good old helper thread pool to issue an asynchronous fdatasync for raw-posix. Note that while Linux AIO implements a fdatasync operation it is not useful for us because it isn't actually implement in asynchronous fashion. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>