]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9b255e887612bbfd841cb8bf839b7977ed92614
tree52f33d1b249ce67888ead280432aac27d092fc81
parent8ac208398560942b8f71cebb984a05adc22b7a4d
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