linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/22] loop: Issue O_DIRECT aio with pages
@ 2012-02-27 21:19 Dave Kleikamp
  2012-02-27 21:19 ` [RFC PATCH 01/22] iov_iter: move into its own file Dave Kleikamp
                   ` (23 more replies)
  0 siblings, 24 replies; 38+ messages in thread
From: Dave Kleikamp @ 2012-02-27 21:19 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: linux-kernel, Zach Brown, Dave Kleikamp

This patchset was begun by Zach Brown and was originally submitted for
review in October, 2009. Feedback was positive, and I have picked up
where he left off, porting his patches to 3.3-rc4 and adding support
for ext4, btrfs, and nfs.

http://www.spinics.net/lists/linux-fsdevel/msg27514.htm

This patch series adds a kernel interface to fs/aio.c so that kernel code can
issue concurrent asynchronous IO to file systems.  It adds an aio command and
file system methods which specify io memory with pages instead of userspace
addresses.

This series was written to reduce the current overhead loop imposes by
performing synchronus buffered file system IO from a kernel thread.  These
patches turn loop into a light weight layer that translates bios into iocbs.

Thanks,
Shaggy

Dave Kleikamp (4):
  fuse: convert fuse to use iov_iter_copy_[to|from]_user
  ext4: add support for read_iter, write_iter, and direct_IO_bvec
  btrfs: add support for read_iter, write_iter, and direct_IO_bvec
  nfs: add support for read_iter, write_iter

Zach Brown (18):
  iov_iter: move into its own file
  iov_iter: add copy_to_user support
  iov_iter: hide iovec details behind ops function pointers
  iov_iter: add bvec support
  iov_iter: add a shorten call
  iov_iter: let callers extract iovecs and bio_vecs
  dio: create a dio_aligned() helper function
  dio: add dio_alloc_init() helper function
  dio: add sdio_init() helper function
  dio: add dio_lock_and_flush() helper
  dio: add dio_post_submission() helper function
  dio: add __blockdev_direct_IO_bdev()
  fs: pull iov_iter use higher up the stack
  aio: add aio_kernel_() interface
  aio: add aio support for iov_iter arguments
  bio: add bvec_length(), like iov_length()
  ext3: add support for .read_iter and .write_iter
  ocfs2: add support for read_iter, write_iter, and direct_IO_bvec

 drivers/block/loop.c    |   55 ++++-
 fs/aio.c                |  156 +++++++++++++++
 fs/btrfs/file.c         |    2 +
 fs/btrfs/inode.c        |  116 +++++++----
 fs/direct-io.c          |  435 ++++++++++++++++++++++++++--------------
 fs/ext3/file.c          |    2 +
 fs/ext3/inode.c         |  149 +++++++++-----
 fs/ext4/ext4.h          |    3 +
 fs/ext4/file.c          |    2 +
 fs/ext4/indirect.c      |  169 ++++++++++++----
 fs/ext4/inode.c         |  206 ++++++++++++-------
 fs/fuse/file.c          |   29 +--
 fs/nfs/direct.c         |  508 ++++++++++++++++++++++++++++++++++++++---------
 fs/nfs/file.c           |   80 ++++++++
 fs/ocfs2/aops.c         |   31 +++
 fs/ocfs2/file.c         |   82 +++++---
 fs/ocfs2/ocfs2_trace.h  |    6 +-
 include/linux/aio.h     |   14 ++
 include/linux/aio_abi.h |    2 +
 include/linux/bio.h     |    8 +
 include/linux/fs.h      |  139 ++++++++++++-
 include/linux/loop.h    |    1 +
 include/linux/nfs_fs.h  |    4 +
 mm/Makefile             |    2 +-
 mm/filemap.c            |  405 +++++++++++++++++--------------------
 mm/iov-iter.c           |  377 +++++++++++++++++++++++++++++++++++
 26 files changed, 2262 insertions(+), 721 deletions(-)
 create mode 100644 mm/iov-iter.c

-- 
1.7.9.2

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

end of thread, other threads:[~2012-03-01 20:36 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 21:19 [RFC PATCH 00/22] loop: Issue O_DIRECT aio with pages Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 01/22] iov_iter: move into its own file Dave Kleikamp
2012-03-01 20:25   ` Jeff Moyer
2012-02-27 21:19 ` [RFC PATCH 02/22] iov_iter: add copy_to_user support Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 03/22] fuse: convert fuse to use iov_iter_copy_[to|from]_user Dave Kleikamp
     [not found]   ` <1330377576-3659-4-git-send-email-dave.kleikamp-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-02-28  9:09     ` Miklos Szeredi
2012-02-27 21:19 ` [RFC PATCH 04/22] iov_iter: hide iovec details behind ops function pointers Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 05/22] iov_iter: add bvec support Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 06/22] iov_iter: add a shorten call Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 07/22] iov_iter: let callers extract iovecs and bio_vecs Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 08/22] dio: create a dio_aligned() helper function Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 09/22] dio: add dio_alloc_init() " Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 10/22] dio: add sdio_init() " Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 11/22] dio: add dio_lock_and_flush() helper Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 12/22] dio: add dio_post_submission() helper function Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 13/22] dio: add __blockdev_direct_IO_bdev() Dave Kleikamp
2012-02-27 22:16   ` Zach Brown
2012-02-27 21:19 ` [RFC PATCH 14/22] fs: pull iov_iter use higher up the stack Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 15/22] aio: add aio_kernel_() interface Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 16/22] aio: add aio support for iov_iter arguments Dave Kleikamp
2012-02-27 22:13   ` Zach Brown
2012-02-27 21:19 ` [RFC PATCH 17/22] bio: add bvec_length(), like iov_length() Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 18/22] ext3: add support for .read_iter and .write_iter Dave Kleikamp
2012-02-27 22:34   ` Zach Brown
2012-02-27 23:14     ` Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 19/22] ocfs2: add support for read_iter, write_iter, and direct_IO_bvec Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 20/22] ext4: " Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 21/22] btrfs: " Dave Kleikamp
2012-02-27 21:19 ` [RFC PATCH 22/22] nfs: add support for read_iter, write_iter Dave Kleikamp
     [not found]   ` <1330377576-3659-23-git-send-email-dave.kleikamp-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2012-02-27 22:08     ` Myklebust, Trond
2012-02-27 23:17       ` Dave Kleikamp
2012-02-27 22:27 ` [RFC PATCH 00/22] loop: Issue O_DIRECT aio with pages Zach Brown
2012-02-27 22:53   ` Dave Kleikamp
2012-02-28  9:29 ` Christoph Hellwig
2012-02-28 15:14   ` Zach Brown
2012-02-29  9:08     ` Christoph Hellwig
2012-03-01 20:33       ` Jeff Moyer
2012-03-01 20:36         ` Dave Kleikamp

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).