Skip to content

Fix LAYOUTGET/LAYOUTRETURN races

Trond Myklebust linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pNFS: Ensure LAYOUTGET and LAYOUTRETURN are properly serialisedfs/nfs/pnfs.c+3 -00 replies
2/4pNFS: Fix pnfs_set_layout_stateid() to clear NFS_LAYOUT_INVALID_STIDfs/nfs/pnfs.c+19 -170 replies
3/4pNFS: Clear out all layout segments if the server unsets lrp->res.lrs_presentfs/nfs/nfs4proc.c+6 -30 replies
4/4pNFS: Don't forget the layout stateid if there are outstanding LAYOUTGETsfs/nfs/pnfs.c+2 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff Layton
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Fix LAYOUTGET/LAYOUTRETURN races

Trond Myklebust (4):
pNFS: Ensure LAYOUTGET and LAYOUTRETURN are properly serialised
pNFS: Fix pnfs_set_layout_stateid() to clear NFS_LAYOUT_INVALID_STID
pNFS: Clear out all layout segments if the server unsets

    lrp->res.lrs_present

pNFS: Don't forget the layout stateid if there are outstanding
LAYOUTGETs

 fs/nfs/nfs4proc.c |  9 ++++++---
 fs/nfs/pnfs.c     | 42 ++++++++++++++++++++++++------------------
 2 files changed, 30 insertions(+), 21 deletions(-)
Signature · 1 line
2.7.4