Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NFSv3: fix sync_retry in direct i/o NFS

Only do a sync_retry if the memcmp failed.

Signed-off-by: Dirk Mueller <dmueller@suse.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

authored by

Dirk Mueller and committed by
Trond Myklebust
19352456 fba3bad4

+1 -1
+1 -1
fs/nfs/direct.c
··· 481 481 if (wdata->verf.committed != NFS_FILE_SYNC) { 482 482 need_commit = 1; 483 483 if (memcmp(&first_verf.verifier, &wdata->verf.verifier, 484 - sizeof(first_verf.verifier))); 484 + sizeof(first_verf.verifier))) 485 485 goto sync_retry; 486 486 } 487 487