diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-12-07 23:33:14 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-12-28 19:32:39 (GMT) |
commit | 141b9b59ed8ae2602b2c285149ec8d4f6b05c4d9 (patch) | |
tree | 03925d8dc3e2205cf254bd445c37d0a6a0ce1bd1 /fs/nfs/pnfs.c | |
parent | c22eeb8697352bd696300aabaf08eaff99bdb635 (diff) | |
download | linux-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.c')
0 files changed, 0 insertions, 0 deletions