From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: linux-mm@kvack.org
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Subject: [PATCH 00/13] Allow the VM to manage NFS unstable writes
Date: Wed, 10 Feb 2010 12:03:20 -0500 [thread overview]
Message-ID: <1265821413-21618-1-git-send-email-Trond.Myklebust@netapp.com> (raw)
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>
next reply other threads:[~2010-02-10 17:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 17:03 Trond Myklebust [this message]
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
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=1265821413-21618-1-git-send-email-Trond.Myklebust@netapp.com \
--to=trond.myklebust@netapp.com \
--cc=linux-mm@kvack.org \
/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