pnfs: don't merge new ff lsegs with ones that have LAYOUTRETURN bit set
authorJeff Layton <jlayton@poochiereds.net>
Tue, 17 May 2016 16:28:39 +0000 (12:28 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:09 +0000 (15:48 -0400)
commitee26bdd680aa10df628499fe95a7b88345574248
treedd2339019779eed74a06419c65dd563ee9359cd9
parent446ca2195303c550b1cec7dcf9a478910dc84672
pnfs: don't merge new ff lsegs with ones that have LAYOUTRETURN bit set

Otherwise, we'll end up returning layouts that we've just received if
the client issues a new LAYOUTGET prior to the LAYOUTRETURN.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c