From: Zach Brown <zab@zabbo.net>
To: Ted Ts'o <tytso@mit.edu>
Cc: Dave Kleikamp <dave.kleikamp@oracle.com>,
linux-fsdevel@vger.kernel.org,
Chris Mason <chris.mason@oracle.com>
Subject: Re: Use case for "loop: Issue O_DIRECT aio with pages"?
Date: Thu, 01 Mar 2012 21:49:41 -0500 [thread overview]
Message-ID: <4F503545.8030308@zabbo.net> (raw)
In-Reply-To: <20120301231524.GG32588@thunk.org>
> *why* is it interesting to allow kernel code to submit aio
> requests, and loop devices to be able to direct I/O requests all the
> way to the underlying file systems.
As I understood it, lo those years ago, the use case was virtual guests
provisioned on loopback devices on files in the host file system.
In this use case either having loop implement a second writeback cache
or having it only capable of one sync IO in flight at a time is pretty
bad when you're trying to offer consistent and performant file systems
to the guest.
I believe one motivations for using loopback files is the ability to use
ocfs2's reflinks to get cluster-wide cow snapshoting of guest file
systems in files in ocfs2.
But I'll let Dave (or Chris?) share more about how this stuff is
actually used.
Really, if we had our way, file systems would offer the bio submission
and completion interface for file data. Then loopback dev IO <-> file
system IO would be trivial. The aio+dio iocbs are an existing
aproximation :/.
- z
next prev parent reply other threads:[~2012-03-02 2:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 23:15 Use case for "loop: Issue O_DIRECT aio with pages"? Ted Ts'o
2012-03-02 2:49 ` Zach Brown [this message]
2012-03-02 8:14 ` Ted Ts'o
2012-03-02 14:52 ` Zach Brown
2012-03-02 7:29 ` Christoph Hellwig
2012-03-02 14:14 ` Chris Mason
2012-03-02 20:50 ` James Bottomley
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=4F503545.8030308@zabbo.net \
--to=zab@zabbo.net \
--cc=chris.mason@oracle.com \
--cc=dave.kleikamp@oracle.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=tytso@mit.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.