]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 24 Sep 2012 17:24:26 +0000 (13:24 -0400)
commit42f0686c9b3dfb5b1cc06e1fda34d778f59181ff
treec5f46ec82bf73151ea36abfd6a31ba7570265487
parent220d4082af521ddbcc522595d9a957ebdab8d1d1
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