Commit 756e3174 authored by Chuck Lever's avatar Chuck Lever Committed by Linus Torvalds

[PATCH] give NFS client a "set_page_dirty" address space op.

Description:
  The default set_page_dirty address space op is too heavyweight for NFS,
  which doesn't use buffers.
parent 28865d68
......@@ -168,6 +168,7 @@ static int nfs_commit_write(struct file *file, struct page *page, unsigned offse
struct address_space_operations nfs_file_aops = {
.readpage = nfs_readpage,
.readpages = nfs_readpages,
.set_page_dirty = __set_page_dirty_nobuffers,
.writepage = nfs_writepage,
.writepages = nfs_writepages,
.prepare_write = nfs_prepare_write,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment