From: Ming Lei <ming.lei@canonical.com>
To: Jens Axboe <axboe@fb.com>, linux-kernel@vger.kernel.org
Cc: Christoph Hellwig <hch@lst.de>, Al Viro <viro@zeniv.linux.org.uk>,
Maxim Patlasov <mpatlasov@parallels.com>
Subject: [PATCH 0/3] block: loop: switch to VFS ITER_BVEC
Date: Sun, 22 Mar 2015 16:14:51 +0800 [thread overview]
Message-ID: <1427012095-4095-1-git-send-email-ming.lei@canonical.com> (raw)
This patchset uses VFS ITER_BVEC for reading/writing
loop backing file, and basically it is a rewriting of
Christoph Hellwig's post in [1].
With this change, loop code becomes much cleaner than before,
and it is also a simplication for reading/writing backing file
inside kernel.
Another benifit is that one extra page copy is avoided for
READ in case of none_transfer.
This patchset passes xfstest test(ext4, -g auto) over loop block
devices.
The patch 3/3 depends a bit on Christoph's kiocb split patches
which have been in -next for a while, so tree dependency(not build
depend, just behaviour depend) should be considered if it is to
be merged to 4.0.
The next step is to add AIO/O_DIRECT support for reading/writing
backing file against this patchset if no one objects, so that double
cache can be avoided.
[1], loop: convert to vfs_bvec_write
http://marc.info/?l=linux-fsdevel&m=142159370107007&w=2
[2], kiocb split patchset
http://marc.info/?t=142238145800004&r=1&w=2
Thanks,
Ming Lei
next reply other threads:[~2015-03-22 8:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-22 8:14 Ming Lei [this message]
2015-03-22 8:14 ` [PATCH 1/3] block: loop: use kmap(page) instead of page_address(page) Ming Lei
2015-03-24 10:29 ` Christoph Hellwig
2015-03-24 10:49 ` Ming Lei
2015-03-24 11:09 ` Christoph Hellwig
2015-03-24 11:24 ` Ming Lei
2015-03-22 8:14 ` [PATCH 2/3] block: loop: unify interface type of lo_send and lo_receive Ming Lei
2015-03-24 10:30 ` Christoph Hellwig
2015-03-24 10:55 ` Ming Lei
2015-03-22 8:14 ` [PATCH 3/3] block: loop: use vfs ITER_BVEC to read/write backing file Ming Lei
2015-03-24 10:31 ` Christoph Hellwig
2015-03-24 11:01 ` Ming Lei
2015-03-24 10:32 ` [PATCH 0/3] block: loop: switch to VFS ITER_BVEC Christoph Hellwig
2015-03-24 10:53 ` Ming Lei
2015-03-24 18:01 ` Christoph Hellwig
2015-03-25 7:23 ` Ming Lei
2015-03-25 15:27 ` Christoph Hellwig
2015-03-31 22:22 ` Al Viro
2015-04-04 5:20 ` Al Viro
2015-04-07 16:23 ` Christoph Hellwig
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=1427012095-4095-1-git-send-email-ming.lei@canonical.com \
--to=ming.lei@canonical.com \
--cc=axboe@fb.com \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mpatlasov@parallels.com \
--cc=viro@zeniv.linux.org.uk \
/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
all inboxes | Powered by JetHome®