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 --
| Matthew Garrett | [PATCH] Remove process freezer from suspend to RAM pathway |
| Adrian Bunk | If you want me to quit I will quit |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Linus Torvalds | Linux 2.6.24-rc2 |
git: | |
| Andy Whitcroft | Re: VCS comparison table |
| franky | Is there any plan to support partial checkout or submoudule improvement? |
| Bill Lear | Git rescue mission |
| Jon Smirl | ! [rejected] master -> master (non-fast forward) |
| Richard Stallman | Real men don't attack straw men |
| Edwin Eyan Moragas | poll(2) vs kqueue(2) performance |
| Juan Miscaro | Not updating .libs-XXXXX, remember to clean it (huh?) |
| Diana Eichert | bcw(4) is gone |
| Lars Wirzenius | Re: Parse Error |
| Paul Monday - CS | Re: Things to write (was Re: How can I get a piece of the action?!) |
| Andreas Mueller | Re: VMS |
| Zane H. Healy | Linux BBS List #8 (Long) |
