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:
7f955e8
)
- better dump a backtrace, but not too often
author
alex
<alex>
Sat, 10 Sep 2005 23:44:32 +0000
(23:44 +0000)
committer
alex
<alex>
Sat, 10 Sep 2005 23:44:32 +0000
(23:44 +0000)
lustre/osc/osc_create.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_create.c
b/lustre/osc/osc_create.c
index
39f33e3
..
a112d1f
100644
(file)
--- a/
lustre/osc/osc_create.c
+++ b/
lustre/osc/osc_create.c
@@
-84,9
+84,11
@@
int osc_create(struct obd_export *exp, struct obdo *oa,
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
if (current->journal_info != NULL) {
+ static int dump_counter = 0;
CDEBUG(D_ERROR, "calling osc_create() with an "
"open transaction isn't a good idea\n");
- portals_debug_dumplog();
+ if (dump_counter++ % 100 == 0)
+ portals_debug_dumpstack(NULL);
}
#endif