]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: add rpc_count_iostats_idx
authorWeston Andros Adamson <dros@primarydata.com>
Tue, 24 Jun 2014 14:59:52 +0000 (10:59 -0400)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:38 +0000 (11:06 -0800)
commit61d0ae40a9788a7e4fd6e44706ed712aaddbad72
tree6be82bb7ca5a4ef88746e023b139e2dda7b7e566
parent888873f677fe551fd1719b1bdf5b53639f706949
sunrpc: add rpc_count_iostats_idx

Add a call to tally stats for a task under a different statsidx than
what's contained in the task structure.

This is needed to properly account for pnfs reads/writes when the
DS nfs version != the MDS version.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
include/linux/sunrpc/metrics.h
net/sunrpc/stats.c