Hi Artem, Pekka Enberg wrote:On Tue, Apr 1, 2008 at 12:25 PM, Artem Bityutskiy <Artem.Bityutskiy@nokia.com> wrote: First and foremost, JFFS2 uses BUG_ON and doesn't invent it's own assert. Furthermore, the debug tracing code prints out human-readable text in well-thought of places. It's looks bit excessive to me and I don't see a good reason why the different logging levels are not run-time configurable (if you're going to invent a logging infrastructure, why not do it properly). But there simply is no comparison between JFFS2 and UBIFS debug logging code. The former is cleanly structured whereas yours looks to be totally ad hoc. But perhaps the problem will go away after you inject some sanity to stuff like this: fs/ubifs/dir.c: dbg_gen("dent '%.*s' to ino %lu (nlink %d) in dir ino %lu", fs/ubifs/dir.c: dbg_gen("dent '%.*s' from ino %lu (nlink %d) in dir ino %lu", fs/ubifs/dir.c: dbg_gen("directory '%.*s', ino %lu in dir ino %lu", dentry->d_name.len, fs/ubifs/dir.c: dbg_gen("dent '%.*s', mode %#x in dir ino %lu", fs/ubifs/dir.c: dbg_gen("dent '%.*s' in dir ino %lu", Pekka --
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Andrew Morton | -mm merge plans for 2.6.23 |
| KAMEZAWA Hiroyuki | Re: 2.6.23-mm1 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
git: | |
| Alan Cox | Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
