]> git.ipfire.org Git - people/ms/linux.git/commit - fs/nfs/direct.c
NFS: Fix O_DIRECT commit verifier handling
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 21 Mar 2020 13:27:46 +0000 (09:27 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:34 +0000 (16:34 -0400)
commit1f28476dcb98797e838a0c1dd6eae2fda213dd81
tree52f33d1b249ce67888ead280432aac27d092fc81
parentfb5f7f20cdb91f8ef985aef09fa2217c49c38396
NFS: Fix O_DIRECT commit verifier handling

Instead of trying to save the commit verifiers and checking them against
previous writes, adopt the same strategy as for buffered writes, of
just checking the verifiers at commit time.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/direct.c
fs/nfs/internal.h
fs/nfs/write.c