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:
90440e6
)
- drop ll_capa_stat flag in order to preven flood
author
alex
<alex>
Wed, 21 Sep 2005 23:09:14 +0000
(23:09 +0000)
committer
alex
<alex>
Wed, 21 Sep 2005 23:09:14 +0000
(23:09 +0000)
lustre/llite/llite_capa.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_capa.c
b/lustre/llite/llite_capa.c
index
e9296b1
..
e9bb75b
100644
(file)
--- a/
lustre/llite/llite_capa.c
+++ b/
lustre/llite/llite_capa.c
@@
-258,11
+258,13
@@
int ll_set_capa(struct inode *inode, struct lookup_intent *it,
LASSERT_REPSWABBED(req, 1); /* and swabbed down */
if (!(body->valid & OBD_MD_CAPA)) {
- if (atomic_read(&ll_capa_stat))
+ if (atomic_read(&ll_capa_stat))
{
DEBUG_REQ(D_ERROR, req,
"no capa for (uid %u, op %d, "DLID4"\n",
- (unsigned)current->uid, it->it_flags,
- OLID4(&lli->lli_id));
+ (unsigned)current->uid, it->it_flags,
+ OLID4(&lli->lli_id));
+ atomic_set(&ll_capa_stat, 0);
+ }
return 0;
}