]> Gentwo Git Trees - linux/.git/commit
NFSv4.2: Serialise O_DIRECT i/o and copy range
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Sep 2025 14:54:13 +0000 (10:54 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Sep 2025 20:51:25 +0000 (16:51 -0400)
commitca247c89900ae90207f4d321e260cd93b7c7d104
tree4cbaf6881ddfed74047481867e02b2893958cedf
parentc80ebeba1198eac8811ab0dba36ecc13d51e4438
NFSv4.2: Serialise O_DIRECT i/o and copy range

Ensure that all O_DIRECT reads and writes complete before copying a file
range, so that the destination is up to date.

Fixes: a5864c999de6 ("NFS: Do not serialise O_DIRECT reads and writes")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs42proc.c