Whamcloud - gitweb
LU-1329 ptlrpc: handle -EINPROGRESS for create
authorNiu Yawei <niu@whamcloud.com>
Wed, 18 Apr 2012 07:35:38 +0000 (00:35 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 May 2012 19:36:31 +0000 (15:36 -0400)
commit4c2f91a997e489c74fde0bb0ae5e90d30831602a
tree1e00e049e6dcbb52aad40725adca254d518b2fd8
parent51206e8cd42134400fa0b6259a92d7138f3dc984
LU-1329 ptlrpc: handle -EINPROGRESS for create

If some metadata operation get -EINPROGRESS from server, client
should retry the operation infinitely. Which is required by
the new quota design in the DNE environment.

We handle -EINPROGRESS only for create operation for now, if
necessary, it can be extended for other operations later.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: Iad568afeff0af1d4df840d3acf2df161df6f7690
Reviewed-on: http://review.whamcloud.com/2572
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/include/obd_support.h
lustre/llite/llite_lib.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_reint.c
lustre/mdd/mdd_dir.c
lustre/osc/osc_request.c
lustre/tests/replay-ost-single.sh