From: Andy Adamson Date: Wed, 20 Jun 2012 19:03:33 +0000 (-0400) Subject: NFSv4.1 mark layout when already returned X-Git-Tag: v3.6-rc1~38^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=366d50521c57939e61e25dc27f009367447563e6;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed