lkml.org 
[lkml]   [2002]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[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.

Apply against:
2.5.52


diff -Naurp 01-kmap_atomic/fs/nfs/file.c 02-set_page_dirty/fs/nfs/file.c
--- 01-kmap_atomic/fs/nfs/file.c Sun Dec 15 21:08:12 2002
+++ 02-set_page_dirty/fs/nfs/file.c Wed Dec 18 17:37:07 2002
@@ -168,6 +168,7 @@ static int nfs_commit_write(struct file
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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site