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:
ba79710
)
- additional debug to catch the case when client gets openhandle w/o capa
author
alex
<alex>
Wed, 21 Sep 2005 20:42:37 +0000
(20:42 +0000)
committer
alex
<alex>
Wed, 21 Sep 2005 20:42:37 +0000
(20:42 +0000)
lustre/llite/llite_capa.c
patch
|
blob
|
history
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_capa.c
b/lustre/llite/llite_capa.c
index
42d1ecb
..
e9296b1
100644
(file)
--- a/
lustre/llite/llite_capa.c
+++ b/
lustre/llite/llite_capa.c
@@
-259,11
+259,10
@@
int ll_set_capa(struct inode *inode, struct lookup_intent *it,
if (!(body->valid & OBD_MD_CAPA)) {
if (atomic_read(&ll_capa_stat))
if (!(body->valid & OBD_MD_CAPA)) {
if (atomic_read(&ll_capa_stat))
- CDEBUG(D_ERROR, "no capa for (uid %u, op %d, mdsid "
- LPU64", ino %lu igen %u)\n",
- (unsigned)current->uid, it->it_flags,
- id_group(&lli->lli_id), id_ino(&lli->lli_id),
- id_gen(&lli->lli_id));
+ DEBUG_REQ(D_ERROR, req,
+ "no capa for (uid %u, op %d, "DLID4"\n",
+ (unsigned)current->uid, it->it_flags,
+ OLID4(&lli->lli_id));
return 0;
}
return 0;
}
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
b2d4416
..
f00cac4
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-632,6
+632,7
@@
static void reconstruct_open(struct mds_update_record *rec, int offset,
if (!(body->valid & OBD_MD_FLEASIZE))
body->valid |= (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS |
OBD_MD_FLATIME | OBD_MD_FLMTIME);
if (!(body->valid & OBD_MD_FLEASIZE))
body->valid |= (OBD_MD_FLSIZE | OBD_MD_FLBLOCKS |
OBD_MD_FLATIME | OBD_MD_FLMTIME);
+ DEBUG_REQ(D_ERROR, req, "no capa for "DLID4, OLID4(&body->id1));
}
/* If we have -EEXIST as the status, and we were asked to create
}
/* If we have -EEXIST as the status, and we were asked to create