linux-stable/fs/nfs/flexfilelayout
Trond Myklebust 4d0ac22109 pNFS/flexfiles: Ensure we record layoutstats even if RPC is terminated early
Currently, we will only record the layoutstats correctly if the
RPC call successfully obtains a slot. If we exit before that
happens, then we may find ourselves starting the busy timer through
the call in ff_layout_(read|write)_prepare_layoutstats, but never stopping it.

The same thing happens if we're doing DA-DS.

The fix is to ensure that we catch these cases in the rpc_release()
callback.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-12-28 14:32:41 -05:00
..
flexfilelayout.c pNFS/flexfiles: Ensure we record layoutstats even if RPC is terminated early 2015-12-28 14:32:41 -05:00
flexfilelayout.h pNFS/flexfiles: Support server-supplied layoutstats sampling period 2015-12-28 14:32:36 -05:00
flexfilelayoutdev.c pNFS/flexfiles: Don't prevent flexfiles client from retrying LAYOUTGET 2015-12-28 14:32:40 -05:00
Makefile