From: Jeff Layton Date: Tue, 28 Sep 2010 13:14:01 +0000 (-0400) Subject: NFS: don't use FLUSH_SYNC on WB_SYNC_NONE COMMIT calls (try #2) X-Git-Tag: v2.6.37-rc1~120^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a00dd6c03dd97a777c291a8af8682be4b5fadf8d;p=pandora-kernel.git NFS: don't use FLUSH_SYNC on WB_SYNC_NONE COMMIT calls (try #2) WB_SYNC_NONE is supposed to mean "don't wait on anything". That should also include not waiting for COMMIT calls to complete. WB_SYNC_NONE is also implied when wbc->nonblocking and wbc->for_background are set, so we can replace those checks in nfs_commit_unstable_pages with a check for WB_SYNC_NONE. Signed-off-by: Jeff Layton Reviewed-by: Wu Fengguang Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed