Skip to content

clean up and generalize swap-over-NFS

Omar Sandoval linux-fsdevel linux-mm linux-nfs lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v18 patches 21 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iov_iter: add ITER_BVEC helpersfs/splice.c include/linux/uio.h mm/iov_iter.c +1 more+26 -140 replies
2/5direct-io: don't dirty ITER_BVEC pages on readfs/direct-io.c+5 -32 replies
3/5nfs: don't dirty ITER_BVEC pages read through direct I/Ofs/nfs/direct.c+4 -12 replies
4/5swapfile: use ->read_iter and ->write_itermm/page_io.c mm/swapfile.c+33 -82 replies
5/5vfs: update swap_{,de}activate documentationDocumentation/filesystems/Locking Documentation/filesystems/vfs.txt+8 -60 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchDave Kleikamp
1/5
2/5A-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] clean up and generalize swap-over-NFS

Hi,

This patch series (based on ecb5ec0 in Linus' tree) contains all of the non-BTRFS work that I've done to implement swapfiles on BTRFS. The BTRFS portion is still undergoing development and is now outweighed by the non-BTRFS changes, so I want to get these in separately.

Version 2 changes the generic swapfile interface to use ->read_iter and ->write_iter instead of using ->direct_IO directly in response to discussion on the previous submission. It also adds the iov_iter_is_bvec helper to factor out some common checks.

Version 1 can be found here: https://lkml.org/lkml/2014/12/15/7

Omar Sandoval (5):
iov_iter: add ITER_BVEC helpers
direct-io: don't dirty ITER_BVEC pages on read
nfs: don't dirty ITER_BVEC pages read through direct I/O
swapfile: use ->read_iter and ->write_iter
vfs: update swap_{,de}activate documentation

 Documentation/filesystems/Locking |  7 ++++---
 Documentation/filesystems/vfs.txt |  7 ++++---
 fs/direct-io.c                    |  8 ++++---
 fs/nfs/direct.c                   |  5 ++++-
 fs/splice.c                       |  7 ++-----
 include/linux/uio.h               |  7 +++++++
 mm/iov_iter.c                     | 12 +++++++++++
 mm/page_io.c                      | 44 +++++++++++++++++++++++++--------------
 mm/swapfile.c                     | 11 +++++++++-
 9 files changed, 76 insertions(+), 32 deletions(-)
Signature · 7 lines
2.2.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>