NFSv4.1: reset the inode MDS threshold counters on layout destruction
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 20 Sep 2012 19:52:13 +0000 (15:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:12 +0000 (16:03 -0400)
commitbb346f63976823c2959b0c5917928f12cbf96e4a
treeff9fdcdc22165d111469e2ebeb395a1d5c47d4a5
parent965938b83b19aeffdc1d16ce9947c8c127e8f59b
NFSv4.1: reset the inode MDS threshold counters on layout destruction

Instead of resetting the inode MDS threshold counters when we mark
the layout for destruction, do it as part of freeing the layout.

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