Whamcloud - gitweb
LU-1329 ptlrpc: resend request on -EINPROGRESS
authorJohann Lombardi <johann@whamcloud.com>
Tue, 3 Jul 2012 10:54:54 +0000 (12:54 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 26 Jul 2012 04:49:33 +0000 (00:49 -0400)
commit7223b4746c71bf450c178ed21ddf99a0e3e26a1a
tree33d57d3599b7bfb7571520e5d3a359899581ecf3
parent9501a58dd776231e93327ad0de91a4a3022ec493
LU-1329 ptlrpc: resend request on -EINPROGRESS

It seems the EINPROGRESS is going to be used for many different
purposes (e.g. on statfs see review 3198). As a result, it sounds
like ptlrpc is the right place to resend requests on EINPROGRESS.
Upper layers can still decide to handle EINPROGRESS by themselves by
setting rq_no_retry_einprogress to 1.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: Iae2a5976666e66be4f6e71f82c5653e5636ba07d
Reviewed-on: http://review.whamcloud.com/3262
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_net.h
lustre/include/obd_support.h
lustre/mdc/mdc_locks.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c
lustre/ptlrpc/client.c
lustre/tests/replay-ost-single.sh