pNFS/flexfiles: Handle expired layout segments in ff_layout_initiate_commit()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Jul 2017 23:10:58 +0000 (19:10 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Jul 2017 19:28:21 +0000 (15:28 -0400)
commit4b75053e9bb6db4b700526d2d67c67a0d07f867e
tree2ccf315dc43d1df8117abc368d53679e0c68fbeb
parent41181886459b281ed1346369f27b3c3bb8e2dde3
pNFS/flexfiles: Handle expired layout segments in ff_layout_initiate_commit()

If the layout has expired due to a fencing event, then we should not
attempt to commit to the DS.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c