From: Trond Myklebust Date: Fri, 5 Jun 2009 16:35:15 +0000 (-0400) Subject: nfsd: Use write gathering only with NFSv2 X-Git-Tag: v2.6.31-rc1~57^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e03bc515cff75718de5460458680a230ae997e;p=pandora-kernel.git nfsd: Use write gathering only with NFSv2 NFSv3 and above can use unstable writes whenever they are sending more than one write, rather than relying on the flaky write gathering heuristics. More often than not, write gathering is currently getting it wrong when the NFSv3 clients are sending a single write with FILE_SYNC for efficiency reasons. This patch turns off write gathering for NFSv3/v4, and ensures that it only applies to the one case that can actually benefit: namely NFSv2. Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed