Re: JBD-DEBUG /proc/sys entry (again)

2007-10-04 Thread Jose R. Santos
On Thu, 04 Oct 2007 16:28:07 +0400 Rusev <[EMAIL PROTECTED]> wrote: > All that should be moved to DEBUGFS under /sys/kernel/debug and so on > - that's right, a bit other issue > is of interest for me. > > My suggestion is that a few other problems with PROCFS exist: > > From my observation the

[PATCH] JBD2: debug code cleanup.

2007-09-27 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> JBD2: debug code cleanup. Mostly stolen from akpm's JBD cleanup patch. - use `#ifdef foo' instead of `#if defined(foo)' - Make journal_enable_debug __read_mostly just for the heck of it - Make jbd_debugfs_dir and jbd_debug static

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-26 Thread Jose R. Santos
On Wed, 26 Sep 2007 14:35:39 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Tue, 25 Sep 2007 16:36:08 +0200 > Jan Kara <[EMAIL PROTECTED]> wrote: > > > > On Tue, 25 Sep 2007 07:49:38 -0500 > > > "Jose R. Santos" <[EMAIL PROTECTED]> w

[PATCH] JBD: Fix JBD warnings when compiling with CONFIG_JBD_DEBUG

2007-09-25 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> JBD: Fix JBD warnings when compiling with CONFIG_JBD_DEBUG Note from Mingming's JBD2 fix: Noticed all warnings are occurs when the debug level is 0. Then found the "jbd2: Move jbd2-debug file to debugfs" patch http://git.kernel.or

[PATCH] JBD: Export jbd-debug via debugfs

2007-09-25 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> JBD: Export jbd-debug via debugfs The jbd-debug file used to be located in /proc/sys/fs/jbd-debug, but create_proc_entry() does not do lookups on file names that are more that one directory deep. This causes the entry creation to fail and hence, n

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jose R. Santos
On Tue, 25 Sep 2007 07:49:38 -0500 "Jose R. Santos" <[EMAIL PROTECTED]> wrote: > On Tue, 25 Sep 2007 13:50:46 +0200 > Jan Kara <[EMAIL PROTECTED]> wrote: > > > Jan Kara wrote: > > > >> > > > >-#define create_jbd_proc_entry() do {}

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jose R. Santos
On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara <[EMAIL PROTECTED]> wrote: > > Jan Kara wrote: > > >> > > >-#define create_jbd_proc_entry() do {} while (0) > > >-#define remove_jbd_proc_entry() do {} while (0) > > >+static ctl_table fs_table[] = { > > >+ { > > >+.ctl_name = -1,

Re: [PATCH] ext4: FLEX_BG Kernel support v2.

2007-09-21 Thread Jose R. Santos
On Fri, 21 Sep 2007 13:29:27 -0700 Badari Pulavarty <[EMAIL PROTECTED]> wrote: > On Fri, 2007-09-21 at 09:06 -0500, Jose R. Santos wrote: > > From: Jose R. Santos <[EMAIL PROTECTED]> > > > > ext4: FLEX_BG Kernel support v2. > > > > > @@ -702

[PATCH] ext4: FLEX_BG Kernel support v2.

2007-09-21 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> ext4: FLEX_BG Kernel support v2. This feature relaxes check restrictions on where each block groups meta data is located within the storage media. This allows for the allocation of bitmaps or inode tables outside the block group boundaries in

Re: [EXT4 set 2][PATCH 5/5] cleanups: Export jbd2-debug via debugfs

2007-07-11 Thread Jose R. Santos
jbd2-debug file to debugfs which would be the preferred location for this kind of tunable. The new location is now /sys/kernel/debug/jbd2/jbd2-debug. Signed-off-by: Jose R. Santos <[EMAIL PROTECTED]> --- fs/Kconfig | 105 + 5 - 0 ! fs/jbd2/journal.c| 6727 +

Re: [EXT4 set 2][PATCH 3/5] cleanups: set_jbd2_64bit_feature for >16TB ext4 fs

2007-07-11 Thread Jose R. Santos
Set the journals JBD2_FEATURE_INCOMPAT_64BIT on devices with more than 32bit block sizes during mount time. This ensure proper record lenth when writing to the journal. Signed-off-by: Jose R. Santos <[EMAIL PROTECTED]> Signed-off-by: Andreas Dilger <[EMAIL PROTECTED]> Signed-off-by:

Re: [EXT4 set 2][PATCH 5/5] cleanups: Export jbd2-debug via debugfs

2007-07-10 Thread Jose R. Santos
On Tue, 10 Jul 2007 16:30:25 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Sun, 01 Jul 2007 03:36:48 -0400 > Mingming Cao <[EMAIL PROTECTED]> wrote: > > > > On Jun 07, 2007 23:45 -0500, Jose R. Santos wrote: > > > > The jbd2-debug file used to

Re: [EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-01 Thread Jose R. Santos
On Sun, 01 Jul 2007 03:38:10 -0400 Mingming Cao <[EMAIL PROTECTED]> wrote: > [PATCH] jbd2 stats through procfs > > The patch below updates the jbd stats patch to 2.6.20/jbd2. > The initial patch was posted by Alex Tomas in December 2005 > (http://marc.info/?l=linux-ext4&m=113538565128617&w=2). >