]> 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)
commit51203e0f13786647802b72155ff0160a8f1024fd
tree2ccf315dc43d1df8117abc368d53679e0c68fbeb
parent1d19815ca80f59d6bc38903eccd528e7d25f635d
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