commit | 366d50521c57939e61e25dc27f009367447563e6 | [log] [tgz] |
---|---|---|
author | Andy Adamson <andros@netapp.com> | Wed Jun 20 15:03:33 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Jul 16 14:37:25 2012 -0400 |
tree | d69e02a6fad26e4d746710a7b8dd2caa0047efed | |
parent | baf6c2a44af02cf6f7cec1ff177189c78fc30f9a [diff] |
NFSv4.1 mark layout when already returned When the file layout driver is fencing a DS, _pnfs_return_layout can be called mulitple times per inode due to in-flight i/o referencing lsegs on it's plh_segs list. Remember that LAYOUTRETURN has been called, and do not call it again. Allow LAYOUTRETURNs after a subsequent LAYOUTGET. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>