Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9bdde
)
b=20563 flush seq fix
author
pravin
<Pravin.Shelar@Sun.COM>
Mon, 5 Jul 2010 14:24:34 +0000
(19:54 +0530)
committer
johann
<johann@granier.local>
Mon, 5 Jul 2010 14:38:57 +0000
(16:38 +0200)
i=alexander.zarochentsev
i=rahul
always flush seq on OBD_NOTIFY_INACTIVE event.
lustre/mdc/mdc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_request.c
b/lustre/mdc/mdc_request.c
index
9d4d0f4
..
568a78d
100644
(file)
--- a/
lustre/mdc/mdc_request.c
+++ b/
lustre/mdc/mdc_request.c
@@
-1335,8
+1335,7
@@
static int mdc_import_event(struct obd_device *obd, struct obd_import *imp,
/* Flush current sequence to make client obtain new one
* from server in case of disconnect/reconnect.
* If range is already empty then no need to flush it. */
- if (cli->cl_seq != NULL &&
- !range_is_exhausted(&cli->cl_seq->lcs_space))
+ if (cli->cl_seq != NULL)
seq_client_flush(cli->cl_seq);
rc = obd_notify_observer(obd, obd, OBD_NOTIFY_INACTIVE, NULL);