]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Fix a statistics gathering imbalance
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 17 Dec 2015 14:22:15 +0000 (09:22 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:40 +0000 (14:32 -0500)
commit0566870c1c17de9a7bd893b4eb1459f30d2a6a5b
tree447984d309cfeb83ed9c2782781ddaa263346eb9
parentceb6f39d1659bf84bfe6af800c9e288c55276c39
pNFS/flexfiles: Fix a statistics gathering imbalance

When we replay a failed read, write or commit to the dataserver, we
need to ensure that we call ff_layout_read_prepare_v3(),
ff_layout_write_prepare_v3 or ff_layout_commit_prepare_v3() so that we
reset the statistics.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c