From: alex Date: Wed, 21 Sep 2005 23:09:14 +0000 (+0000) Subject: - drop ll_capa_stat flag in order to preven flood X-Git-Tag: 1.4.10~435 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=fbffb9fe77eb414fd12f35fe1347075156b71fab;p=fs%2Flustre-release.git - drop ll_capa_stat flag in order to preven flood --- diff --git a/lustre/llite/llite_capa.c b/lustre/llite/llite_capa.c index e9296b1..e9bb75b 100644 --- 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; }