lkml.org 
[lkml]   [2002]   [Nov]   [26]   [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.49

Test status:
Passes Connectathon '02, fsx, and other stress tests on a UP HIGHMEM
system.


diff -Naur 01-kmap-atomic/fs/nfs/file.c 02-set_page_dirty/fs/nfs/file.c
--- 01-kmap-atomic/fs/nfs/file.c Fri Nov 22 16:40:51 2002
+++ 02-set_page_dirty/fs/nfs/file.c Mon Nov 25 13:19:44 2002
@@ -168,6 +168,7 @@
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    [W:0.218 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site