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:
c394891
)
- fixed stupid bug with locking in MDS. It caused clients do not flush local
author
yury
<yury>
Mon, 25 Oct 2004 14:11:54 +0000
(14:11 +0000)
committer
yury
<yury>
Mon, 25 Oct 2004 14:11:54 +0000
(14:11 +0000)
caches on rename, what caused in turn stat to success after rename and to fail
creating new the same name again. Actually this is most of 24* tests from
sanity.sh and runtests.
lustre/mds/mds_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_reint.c
b/lustre/mds/mds_reint.c
index
1de982c
..
f1a1fa9
100644
(file)
--- a/
lustre/mds/mds_reint.c
+++ b/
lustre/mds/mds_reint.c
@@
-1099,7
+1099,7
@@
int enqueue_4ordered_locks(struct obd_device *obd,struct ldlm_res_id *p1_res_id,
for (i = 0; i < 4; i++) {
flags = 0;
if (res_id[i]->name[0] == 0)
-
break
;
+
continue
;
if (i != 0 &&
!memcmp(res_id[i], res_id[i-1], sizeof(*res_id[i])) &&
(policies[i]->l_inodebits.bits &