linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] Allow the VM to manage NFS unstable writes
@ 2010-02-10 17:03 Trond Myklebust
  2010-02-10 17:03 ` [PATCH 01/13] VM: Split out the accounting of unstable writes from BDI_RECLAIMABLE Trond Myklebust
  0 siblings, 1 reply; 17+ messages in thread
From: Trond Myklebust @ 2010-02-10 17:03 UTC (permalink / raw)
  To: linux-mm; +Cc: Trond Myklebust

Hi,

The following patch series applies on top of Al Viro's 'write_inode' branch
in git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/
(which basically just adds a struct writeback_control * argument to the
superblock's 'write_inode' callback).

These patches are designed to ensure better control by the VM of the NFS
'unstable writes'. It should allow balance_dirty_pages() to manage the
unstable write page budget, by giving it a method to tell the NFS
client when it needs to clear out unstable writes and, by implication,
when it can continue to cache them.

This patchset has already been posted on the linux-nfs and linux-kernel
mailing lists. I'm posting it here in order to hopefully get some feedback
from the VM community (and possibly a few more Acks).

Apologies to those of you who have already received these patches through
the other mailing lists...

Cheers
  Trond

Peter Zijlstra (1):
  VM: Split out the accounting of unstable writes from BDI_RECLAIMABLE

Trond Myklebust (12):
  VM: Don't call bdi_stat(BDI_UNSTABLE) on non-nfs backing-devices
  NFS: Cleanup - move nfs_write_inode() into fs/nfs/write.c
  NFS: Reduce the number of unnecessary COMMIT calls
  VM/NFS: The VM must tell the filesystem when to free reclaimable
    pages
  NFS: Run COMMIT as an asynchronous RPC call when wbc->for_background
    is set
  NFS: Ensure inode is always marked I_DIRTY_DATASYNC, if it has
    unstable pages
  NFS: Simplify nfs_wb_page_cancel()
  NFS: Replace __nfs_write_mapping with sync_inode()
  NFS: Simplify nfs_wb_page()
  NFS: Clean up nfs_sync_mapping
  NFS: Remove requirement for inode->i_mutex from
    nfs_invalidate_mapping
  NFS: Don't write out dirty pages in nfs_release_page()

 fs/nfs/client.c             |    1 +
 fs/nfs/dir.c                |    2 +-
 fs/nfs/file.c               |    7 ++
 fs/nfs/inode.c              |   82 ++-------------
 fs/nfs/symlink.c            |    2 +-
 fs/nfs/write.c              |  238 ++++++++++++-------------------------------
 include/linux/backing-dev.h |    9 ++-
 include/linux/nfs_fs.h      |   13 ---
 include/linux/writeback.h   |    5 +
 mm/backing-dev.c            |    6 +-
 mm/filemap.c                |    2 +-
 mm/page-writeback.c         |   30 +++++-
 mm/truncate.c               |    2 +-
 13 files changed, 130 insertions(+), 269 deletions(-)

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

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

end of thread, other threads:[~2010-02-15 17:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-10 17:03 [PATCH 00/13] Allow the VM to manage NFS unstable writes Trond Myklebust
2010-02-10 17:03 ` [PATCH 01/13] VM: Split out the accounting of unstable writes from BDI_RECLAIMABLE Trond Myklebust
2010-02-10 17:03   ` [PATCH 02/13] VM: Don't call bdi_stat(BDI_UNSTABLE) on non-nfs backing-devices Trond Myklebust
2010-02-10 17:03     ` [PATCH 03/13] NFS: Cleanup - move nfs_write_inode() into fs/nfs/write.c Trond Myklebust
2010-02-10 17:03       ` [PATCH 04/13] NFS: Reduce the number of unnecessary COMMIT calls Trond Myklebust
2010-02-10 17:03         ` [PATCH 05/13] VM/NFS: The VM must tell the filesystem when to free reclaimable pages Trond Myklebust
2010-02-10 17:03           ` [PATCH 06/13] NFS: Run COMMIT as an asynchronous RPC call when wbc->for_background is set Trond Myklebust
2010-02-10 17:03             ` [PATCH 07/13] NFS: Ensure inode is always marked I_DIRTY_DATASYNC, if it has unstable pages Trond Myklebust
2010-02-10 17:03               ` [PATCH 08/13] NFS: Simplify nfs_wb_page_cancel() Trond Myklebust
2010-02-10 17:03                 ` [PATCH 09/13] NFS: Replace __nfs_write_mapping with sync_inode() Trond Myklebust
2010-02-10 17:03                   ` [PATCH 10/13] NFS: Simplify nfs_wb_page() Trond Myklebust
2010-02-10 17:03                     ` [PATCH 11/13] NFS: Clean up nfs_sync_mapping Trond Myklebust
2010-02-10 17:03                       ` [PATCH 12/13] NFS: Remove requirement for inode->i_mutex from nfs_invalidate_mapping Trond Myklebust
2010-02-10 17:03                         ` [PATCH 13/13] NFS: Don't write out dirty pages in nfs_release_page() Trond Myklebust
2010-02-15  5:55           ` [PATCH 05/13] VM/NFS: The VM must tell the filesystem when to free reclaimable pages Nick Piggin
2010-02-15 17:09             ` Trond Myklebust
2010-02-15 17:51               ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox