commit | 141b9b59ed8ae2602b2c285149ec8d4f6b05c4d9 | [log] [tgz] |
---|---|---|
author | Peng Tao <tao.peng@primarydata.com> | Mon Dec 07 18:33:14 2015 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Dec 28 14:32:39 2015 -0500 |
tree | 03925d8dc3e2205cf254bd445c37d0a6a0ce1bd1 | |
parent | c22eeb8697352bd696300aabaf08eaff99bdb635 [diff] |
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>