Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2371 ptlrpc: get new xid for resend on EINPROGRESS
[fs/lustre-release.git]
/
lustre
/
mdc
/
mdc_reint.c
diff --git
a/lustre/mdc/mdc_reint.c
b/lustre/mdc/mdc_reint.c
index
994aac6
..
f90a473
100644
(file)
--- a/
lustre/mdc/mdc_reint.c
+++ b/
lustre/mdc/mdc_reint.c
@@
-278,6
+278,10
@@
rebuild:
ptlrpc_request_set_replen(req);
+ /* ask ptlrpc not to resend on EINPROGRESS since we have our own retry
+ * logic here */
+ req->rq_no_retry_einprogress = 1;
+
if (resends) {
req->rq_generation_set = 1;
req->rq_import_generation = generation;