]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda8fdafce8abec5ca0782b0f8a99a2831df17e37
tree2ccf315dc43d1df8117abc368d53679e0c68fbeb
parent492c3c89661c0dbac605d8db2823f50270f96589
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