[PATCH 00/11] Various NFS/sunrpc improvements for swap-over-NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



swap-over-NFS currently doesn't work.  Even after these patches it still
won't work.  Some core MM changes are needed.
However these patches make a number of improvements to NFS and SUNRPC so
that swap-over-NFS can work once those mm changes land.

There is one change since the last posting of these patches.
The last patch was added to fix a potential hang when enabling swap.

Trond/Anna - is their any chance these can go in on the next merge
window?

Thanks,
NeilBrown


---

NeilBrown (11):
      NFS: remove IS_SWAPFILE hack
      SUNRPC/call_alloc: async tasks mustn't block waiting for memory
      SUNRPC/auth: async tasks mustn't block waiting for memory
      SUNRPC/xprt: async tasks mustn't block waiting for memory
      SUNRPC: remove scheduling boost for "SWAPPER" tasks.
      NFS: discard NFS_RPC_SWAPFLAGS and RPC_TASK_ROOTCREDS
      SUNRPC: improve 'swap' handling: scheduling and PF_MEMALLOC
      NFSv4: keep state manager thread active if swap is enabled
      NFS: swap IO handling is slightly different for O_DIRECT IO
      NFS: swap-out must always use STABLE writes.
      SUNRPC: change locking for xs_swap_enable/disable


 fs/nfs/direct.c                 | 48 ++++++++++++++++++++++-----------
 fs/nfs/file.c                   | 19 +++++++++----
 fs/nfs/nfs4_fs.h                |  1 +
 fs/nfs/nfs4proc.c               | 20 ++++++++++++++
 fs/nfs/nfs4state.c              | 39 ++++++++++++++++++++++-----
 fs/nfs/read.c                   |  4 ---
 fs/nfs/write.c                  |  2 ++
 include/linux/nfs_fs.h          | 13 +++------
 include/linux/nfs_xdr.h         |  2 ++
 include/linux/sunrpc/auth.h     |  1 +
 include/linux/sunrpc/sched.h    |  1 -
 include/trace/events/sunrpc.h   |  1 -
 net/sunrpc/auth.c               |  8 ++++--
 net/sunrpc/auth_gss/auth_gss.c  |  6 ++++-
 net/sunrpc/auth_unix.c          | 10 +++++--
 net/sunrpc/clnt.c               |  7 +++--
 net/sunrpc/sched.c              | 29 +++++++++++++-------
 net/sunrpc/xprt.c               | 19 +++++--------
 net/sunrpc/xprtrdma/transport.c | 10 ++++---
 net/sunrpc/xprtsock.c           | 34 ++++++++++++-----------
 20 files changed, 185 insertions(+), 89 deletions(-)

--
Signature




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux