summaryrefslogtreecommitdiffstats
path: root/fs/nfs/proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-12-22 15:32:00 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-12-28 14:32:41 -0500
commit4d0ac22109740c36174c5aac630876b2af0f6943 (patch)
tree991f5605fcf9b6893efd2cb309c003e6e8b4ed48 /fs/nfs/proc.c
parent37e9ed22b1552fa94ee7db2901a5e7d8bdf60b15 (diff)
downloadtalos-obmc-linux-4d0ac22109740c36174c5aac630876b2af0f6943.tar.gz
talos-obmc-linux-4d0ac22109740c36174c5aac630876b2af0f6943.zip
pNFS/flexfiles: Ensure we record layoutstats even if RPC is terminated early
Currently, we will only record the layoutstats correctly if the RPC call successfully obtains a slot. If we exit before that happens, then we may find ourselves starting the busy timer through the call in ff_layout_(read|write)_prepare_layoutstats, but never stopping it. The same thing happens if we're doing DA-DS. The fix is to ensure that we catch these cases in the rpc_release() callback. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud