Skip to content

Don't do pNFS I/O when not holding a layout

[email protected] linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NFS: Don't move layouts to plh_return_segs list while in usefs/nfs/pnfs.c+1 -110 replies
2/2NFS: Don't return layout segments that are in usefs/nfs/pnfs.c+15 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Don't do pNFS I/O when not holding a layout

From: Trond Myklebust <[email protected]>

We recently discovered a couple of issues in the pNFS client that can cause it to return a layout while some of the layout segments being returned are still in use for I/O.

The following 2 patches will add appropriate tests to ensure this cannot happen, and that the layoutreturn call is delayed until the outstanding I/O is finished.

Trond Myklebust (2):
NFS: Don't move layouts to plh_return_segs list while in use
NFS: Don't return layout segments that are in use

 fs/nfs/pnfs.c | 46 ++++++++++++++++------------------------------
 1 file changed, 16 insertions(+), 30 deletions(-)
Signature · 1 line
2.26.2