public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Don't do pNFS I/O when not holding a layout
@ 2020-08-05 20:24 trondmy
  2020-08-05 20:24 ` [PATCH 1/2] NFS: Don't move layouts to plh_return_segs list while in use trondmy
  0 siblings, 1 reply; 3+ messages in thread
From: trondmy @ 2020-08-05 20:24 UTC (permalink / raw)
  To: linux-nfs

From: Trond Myklebust <trond.myklebust@hammerspace.com>

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(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-05 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-05 20:24 [PATCH 0/2] Don't do pNFS I/O when not holding a layout trondmy
2020-08-05 20:24 ` [PATCH 1/2] NFS: Don't move layouts to plh_return_segs list while in use trondmy
2020-08-05 20:24   ` [PATCH 2/2] NFS: Don't return layout segments that are " trondmy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox