[PATCH] writeback: speed up writeback of big dirty files

2008-01-17 Thread Fengguang Wu
On Jan 16, 2008 9:15 AM, Martin Knoblauch [EMAIL PROTECTED] wrote: Fengguang's latest writeback patch applies cleanly, builds, boots on 2.6.24-rc8. Linus, if possible, I'd suggest this patch be merged for 2.6.24. It's a safer version of the reverted patch. It was tested on

Re: [PATCH] Fix oops in mballoc caused by a variable overflow

2008-01-17 Thread Valerie Clement
Aneesh Kumar K.V wrote: What about this ? I guess we will overflow start = start bsbits; Hi Aneesh, your patch below doesn't fix the issue, because as start_off is also loff_t, start_off = ac-ac_o_ex.fe_logical bsbits also overflows. I guess start should be of type loff_t. Patch

[PATCH] Convert EXT2 to use unlocked_ioctl

2008-01-17 Thread Mathieu Segaud
Change ext_ioctl() to be an unlocked_ioctl(), explicitly exposing BKL's uses. Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] --- fs/ext2/dir.c |2 +- fs/ext2/ext2.h |3 +- fs/ext2/file.c |4 +- fs/ext2/ioctl.c | 101 +- 4

[PATCH] Convert ext4_ioctl to an unlocked_ioctl

2008-01-17 Thread Mathieu Segaud
Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] --- fs/ext4/dir.c |2 +- fs/ext4/file.c |2 +- fs/ext4/ioctl.c | 159 --- include/linux/ext4_fs.h |3 +- 4 files changed, 112 insertions(+), 54 deletions(-) diff

[PATCH] Convert ext3_ioctl() to an unlocked_ioctl

2008-01-17 Thread Mathieu Segaud
Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] --- fs/ext3/dir.c |2 +- fs/ext3/file.c |2 +- fs/ext3/ioctl.c | 159 -- include/linux/ext3_fs.h |3 +- 4 files changed, 113 insertions(+), 53 deletions(-) diff

Re: [CALL FOR TESTING] Make Ext3 fsck way faster [2.6.24-rc6 -mm patch]

2008-01-17 Thread Andreas Dilger
On Jan 15, 2008 23:25 -0500, [EMAIL PROTECTED] wrote: I've got multiple boxes across the hall that have 50T of disk on them, in one case as one large filesystem, and the users want *more* *bigger* still (damned researchers - you put a 15 teraflop supercomputer in the room, and then they want

Re: [PATCH] Convert EXT2 to use unlocked_ioctl

2008-01-17 Thread Arnd Bergmann
On Thursday 17 January 2008, you wrote: Change ext_ioctl() to be an unlocked_ioctl(), explicitly exposing BKL's uses. Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] You are now calling lock_kernel() twice in case of ext2_compat_ioctl(), which calls back into ext2_ioctl with the BKL

Re: [PATCH] Fix oops in mballoc caused by a variable overflow

2008-01-17 Thread Aneesh Kumar K.V
On Thu, Jan 17, 2008 at 10:43:40AM +0100, Valerie Clement wrote: Aneesh Kumar K.V wrote: What about this ? I guess we will overflow start = start bsbits; Hi Aneesh, your patch below doesn't fix the issue, because as start_off is also loff_t, start_off = ac-ac_o_ex.fe_logical bsbits

Re: [PATCH] Convert EXT2 to use unlocked_ioctl

2008-01-17 Thread Mathieu SEGAUD
Vous m'avez dit récemment : On Thursday 17 January 2008, you wrote: Change ext_ioctl() to be an unlocked_ioctl(), explicitly exposing BKL's uses. Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] You are now calling lock_kernel() twice in case of ext2_compat_ioctl(), which calls back

Re: [PATCH] Fix oops in mballoc caused by a variable overflow

2008-01-17 Thread Aneesh Kumar K.V
On Thu, Jan 17, 2008 at 10:43:40AM +0100, Valerie Clement wrote: Aneesh Kumar K.V wrote: What about this ? I guess we will overflow start = start bsbits; Hi Aneesh, your patch below doesn't fix the issue, because as start_off is also loff_t, start_off = ac-ac_o_ex.fe_logical bsbits

Re: [PATCH] Convert EXT2 to use unlocked_ioctl

2008-01-17 Thread Mathieu SEGAUD
Vous m'avez dit récemment : Vous m'avez dit récemment : On Thursday 17 January 2008, you wrote: Change ext_ioctl() to be an unlocked_ioctl(), explicitly exposing BKL's uses. Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] You are now calling lock_kernel() twice in case of

[PATCH] Convert ext3_ioctl() to an unlocked_ioctl

2008-01-17 Thread Mathieu Segaud
Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] --- fs/ext3/dir.c |2 +- fs/ext3/file.c |2 +- fs/ext3/ioctl.c | 161 --- include/linux/ext3_fs.h |3 +- 4 files changed, 113 insertions(+), 55 deletions(-) diff

Re: [CALL FOR TESTING] Make Ext3 fsck way faster [2.6.24-rc6 -mm patch]

2008-01-17 Thread Abhishek Rai
On Jan 15, 2008 10:28 AM, Theodore Tso [EMAIL PROTECTED] wrote: Also, it's not just reducing fsck times, although that's the main one. The last time this was suggested, the rationale was to speed up the rm dvd.iso case. Also, something which *could* be done, if Abhishek wants to pursue it,

[PATCH] Convert EXT2 to use unlocked_ioctl

2008-01-17 Thread Mathieu Segaud
Change ext_ioctl() to be an unlocked_ioctl(), explicitly exposing BKL's uses. Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] --- fs/ext2/dir.c |2 +- fs/ext2/ext2.h |3 +- fs/ext2/file.c |4 +- fs/ext2/ioctl.c | 103 +-- 4

[PATCH] Convert ext4_ioctl to an unlocked_ioctl

2008-01-17 Thread Mathieu Segaud
Signed-off-by: Mathieu Segaud [EMAIL PROTECTED] --- fs/ext4/dir.c |2 +- fs/ext4/file.c |2 +- fs/ext4/ioctl.c | 161 --- include/linux/ext4_fs.h |3 +- 4 files changed, 112 insertions(+), 56 deletions(-) diff

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-17 Thread Martin Knoblauch
- Original Message From: Fengguang Wu [EMAIL PROTECTED] To: Martin Knoblauch [EMAIL PROTECTED] Cc: Mike Snitzer [EMAIL PROTECTED]; Peter Zijlstra [EMAIL PROTECTED]; [EMAIL PROTECTED]; Ingo Molnar [EMAIL PROTECTED]; [EMAIL PROTECTED]; linux-ext4@vger.kernel.org

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-17 Thread Mike Snitzer
On Jan 17, 2008 8:52 AM, Martin Knoblauch [EMAIL PROTECTED] wrote: - Original Message From: Fengguang Wu [EMAIL PROTECTED] To: Martin Knoblauch [EMAIL PROTECTED] Cc: Mike Snitzer [EMAIL PROTECTED]; Peter Zijlstra [EMAIL PROTECTED]; [EMAIL PROTECTED]; Ingo Molnar [EMAIL

Re: [PATCH] Fix oops in mballoc caused by a variable overflow

2008-01-17 Thread Aneesh Kumar K.V
On Thu, Jan 17, 2008 at 02:09:41PM +0100, Valerie Clement wrote: Aneesh Kumar K.V wrote: On Thu, Jan 17, 2008 at 10:43:40AM +0100, Valerie Clement wrote: Aneesh Kumar K.V wrote: What about this ? I guess we will overflow start = start bsbits; Hi Aneesh, your patch below doesn't fix the

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-17 Thread Martin Knoblauch
- Original Message From: Martin Knoblauch [EMAIL PROTECTED] To: Fengguang Wu [EMAIL PROTECTED] Cc: Mike Snitzer [EMAIL PROTECTED]; Peter Zijlstra [EMAIL PROTECTED]; [EMAIL PROTECTED]; Ingo Molnar [EMAIL PROTECTED]; [EMAIL PROTECTED]; linux-ext4@vger.kernel.org

[PATCH 3/4]JBD2: user of the jiffies rounding code

2008-01-17 Thread Mingming Cao
Ported from JBD changes from Arjan van de Ven [EMAIL PROTECTED] --- Date: Sun, 10 Dec 2006 10:21:26 + (-0800) Subject: [PATCH] user of the jiffies rounding code: JBD X-Git-Tag: v2.6.20-rc1~15^2~43 X-Git-Url:

[PATCH 1/4]jbd2: port jbd lockdep support to jbd2

2008-01-17 Thread Mingming Cao
Hi Andrew, Ted, I walked through the linus's git tree history and found 4 patches should port from ext3/jbd to ext4/jbd2, since the day ext4 was forked (2006.10.11) to today. I have already queued the ported patches in ext4 patch queue and verified they seems fine. Here is the first one. jbd2:

[PATCH 4/4]JBD2: sparse pointer use of zero as null

2008-01-17 Thread Mingming Cao
Ported from upstream jbd changes to jbd2 sparse pointer use of zero as null Get rid of sparse related warnings from places that use integer as NULL pointer. Signed-off-by: Mingming Cao [EMAIL PROTECTED] --- fs/jbd2/transaction.c | 12 ++-- 1 file changed, 6 insertions(+), 6

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-17 Thread Martin Knoblauch
- Original Message From: Mel Gorman [EMAIL PROTECTED] To: Martin Knoblauch [EMAIL PROTECTED] Cc: Fengguang Wu [EMAIL PROTECTED]; Mike Snitzer [EMAIL PROTECTED]; Peter Zijlstra [EMAIL PROTECTED]; [EMAIL PROTECTED]; Ingo Molnar [EMAIL PROTECTED]; [EMAIL PROTECTED];

Re: [PATCH] Convert ext3_ioctl() to an unlocked_ioctl

2008-01-17 Thread Mathieu SEGAUD
Vous m'avez dit récemment : --- a/fs/ext3/ioctl.c +++ b/fs/ext3/ioctl.c @@ -17,12 +17,19 @@ #include linux/smp_lock.h #include asm/uaccess.h -int ext3_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, +long ext3_ioctl(struct file *filp, unsigned int cmd,

Re: [PATCH] Convert ext4_ioctl to an unlocked_ioctl

2008-01-17 Thread Mathieu SEGAUD
Vous m'avez dit récemment : as well for this one, --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -17,12 +17,18 @@ #include linux/smp_lock.h #include asm/uaccess.h -int ext4_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, - unsigned long arg) +long

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-17 Thread Mel Gorman
On (17/01/08 13:50), Martin Knoblauch didst pronounce: mail manglement snipped The effect is defintely depending on the IO hardware. I performed the same tests on a different box with an AACRAID controller and there things look different. I take it different also means it does not

Re: [RFC] Parallelize IO for e2fsck

2008-01-17 Thread David Chinner
On Wed, Jan 16, 2008 at 01:30:43PM -0800, Valerie Henson wrote: Hi y'all, This is a request for comments on the rewrite of the e2fsck IO parallelization patches I sent out a few months ago. The mechanism is totally different. Previously IO was parallelized by issuing IOs from multiple