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)
commit7eeea1679783e7c1c38074e8c562900b7e3d3dd7
tree447984d309cfeb83ed9c2782781ddaa263346eb9
parentb9fc773ef512dd3db71560463d0e5543c35fe976
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