Whamcloud - gitweb
LU-1788 osc: don't print error msg for EINPROGRESS resend
authorJohann Lombardi <johann@whamcloud.com>
Mon, 27 Aug 2012 16:02:38 +0000 (18:02 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 3 Sep 2012 17:13:12 +0000 (13:13 -0400)
commit7ce412941f2ae4b63af634909381f5b9cadb7317
tree2b14b257b8381371eff0121ad5897664eda906ac
parent762d23de5de9d8cd2fbd336e52a25eb85b9db39d
LU-1788 osc: don't print error msg for EINPROGRESS resend

Now that -EINPROGRESS can be legitimately returned during normal
operation (e.g. quota rebalancing in progress), we shouldn't print an
error message on the client each time the BRW is resent because of
-EINPROGRESS.

This patch also caps the resend delay for BRW to the current request
timeout.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: Ie7447602756b0721351c7c90cbfb40ad8e3bb720
Reviewed-on: http://review.whamcloud.com/3793
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/osc/osc_request.c
lustre/ptlrpc/niobuf.c
lustre/tests/replay-ost-single.sh