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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>

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




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux