From: Arun Bharadwaj Date: Thu, 18 Nov 2010 10:36:43 +0000 (+0000) Subject: Pure nfs client performance using odirect. X-Git-Tag: v2.6.37-rc4~15^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b47d19de2c714020ba8f5545a6e7d4968f37eb45;p=pandora-kernel.git Pure nfs client performance using odirect. When an application opens a file with O_DIRECT flag, if the size of the data that is written is equal to wsize, the client sends a WRITE RPC with stable flag set to UNSTABLE followed by a single COMMIT RPC rather than sending a single WRITE RPC with the stable flag set to FILE_SYNC. This a bug. Patch to fix this. Signed-off-by: Arun R Bharadwaj Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed