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)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Sep 2012 15:19:07 +0000 (11:19 -0400)
commit6ee050666504e6ca5966a9e452729b681e1b5143
tree56a1e1c366506c801b07d097f272fce15d86e83f
parent9da24b1638f9f940027623f4ffb514972e6a12b5
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/3792
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/osc/osc_request.c
lustre/ptlrpc/niobuf.c
lustre/tests/replay-ost-single.sh