NFSv4/pnfs: The layout barrier indicate a minimal value for the seqid
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 23 Jul 2021 12:57:21 +0000 (08:57 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 Aug 2021 20:57:04 +0000 (16:57 -0400)
commitd6236a98b3bab07c0a1455fd1ab46f79c3978cdc
treee19eb9c29fdd30a0abeef39dfb26a62e32f5e240
parent45baadaad7bf9183651fb74f4ed1200da48505a5
NFSv4/pnfs: The layout barrier indicate a minimal value for the seqid

The intention of the layout barrier is to ensure that we do not update
the layout to match an older value than the current expectation. Fix the
test in pnfs_layout_stateid_blocked() to reflect that it is legal for
the seqid of the stateid to match that of the barrier.

Fixes: aa95edf309ef ("NFSv4/pnfs: Fix the layout barrier update")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs.c