summaryrefslogtreecommitdiff
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2015-12-07 23:33:14 (GMT)
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-12-28 19:32:39 (GMT)
commit141b9b59ed8ae2602b2c285149ec8d4f6b05c4d9 (patch)
tree03925d8dc3e2205cf254bd445c37d0a6a0ce1bd1 /fs/nfs/pnfs.h
parentc22eeb8697352bd696300aabaf08eaff99bdb635 (diff)
downloadlinux-141b9b59ed8ae2602b2c285149ec8d4f6b05c4d9.tar.xz
pnfs/flexfiles: count io stat in rpc_count_stats callback
If client ever restarts IO due to some errors, we'll endup mis-counting IO stats if we do the counting in .rpc_done callback. Move it to .rpc_count_stats callback that is only called when releasing RPC. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
0 files changed, 0 insertions, 0 deletions