NFSv4.1: pnfs_layout_io_set_failed must clear invalid lsegs
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 21 Sep 2012 01:19:43 +0000 (21:19 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:11 +0000 (16:03 -0400)
commit115ce575cb10918514d053ef15f597a4e6ff60e9
tree8eef5b764740c41aaa41a628f24d0bced750b6e3
parent3e6212149304eaf9289d5bc56e003068660f3476
NFSv4.1: pnfs_layout_io_set_failed must clear invalid lsegs

If pnfs_layout_io_test_failed() authorises a retry of the failed layoutgets,
we should clear the existing layout segments so that we start afresh. Do
this in pnfs_layout_io_set_failed().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c