[PATCH 3/4][e2fsprogs] Relax group descriptor checking.

2007-08-13 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> Relax group descriptor checking. In order for tools such as dump2efs, e2fsck and debugfs to open a ext4 filesystem with FLEX_BG feature enable, some descriptor checking needs to be relaxed. This patch changes the group desciptor checking so that bitmaps a

[PATCH 4/4][e2fsprogs] New bitmap and inode table allocation for FLEX_BG

2007-08-13 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> New bitmap and inode table allocation for FLEX_BG Change the way we allocate bitmaps and inode tables if the FLEX_BG feature is used at mke2fs time. The block and inode bitmaps are allocated as a one contiguous set for each flex block group. Due to the s

[PATCH 2/4][e2fsprogs] Allow FLEX_BG to be use as a feature option at mke2fs time.

2007-08-13 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> Allow FLEX_BG to be use as a feature option at mke2fs time. Signed-off-by: Jose R. Santos <[EMAIL PROTECTED]> -- lib/e2p/feature.c |2 ++ lib/ext2fs/ext2fs.h |6 -- misc/mke2fs.c |7 ++- 3 files changed, 12 insertions(+), 3 de

[PATCH 0/4][e2fsprogs] Enable FLEX_BG support

2007-08-13 Thread Jose R. Santos
The following series of patches add support creating and checking filesystems with the FLEX_BG feature. This feature currently groups meta-data from a series of groups at the beginning of a flex group in order to improve performance during heavy meta-data operations. Changes from last time: - Wh

[PATCH 1/4][e2fsprogs] Reserve the INCOMPAT feature number for FLEX_BG.

2007-08-13 Thread Jose R. Santos
From: Jose R. Santos <[EMAIL PROTECTED]> Reserve the INCOMPAT feature number for FLEX_BG. Signed-off-by: Jose R. Santos <[EMAIL PROTECTED]> -- lib/ext2fs/ext2_fs.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h index a316665.

Re: Future of ext2 support in the Hurd?

2007-08-13 Thread Samuel Thibault
Hi, Theodore Tso, le Mon 13 Aug 2007 12:11:46 -0400, a écrit : > the latest Debian version of e2fsprogs is 1.40.2, and I assume > (although I don't know for sure) that the Debian GNU/Hurd port is > tracking Debian unstable, Yes. > so if there were anything embarassing, I would have gotten a > co

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Joe Perches
On Mon, 2007-08-13 at 10:19 -0700, Mingming Cao wrote: > Probably should add Shaggy (Dave Kleikamp <[EMAIL PROTECTED]>) here > too. He helped push ext4 fs into mainline and actively performing ext4 > patch queue maintainence. EXT4 FILE SYSTEM P: Ted Ts'o M: [EMAIL PROTECTED] P: Min

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Mingming Cao
On Mon, 2007-08-13 at 09:55 -0700, Joe Perches wrote: > On Mon, 2007-08-13 at 11:39 -0500, Eric Sandeen wrote: > > (And to be fair about it in terms of actual work done so far, please > > put > > the other names ahead of mine!) :) > > EXT4 FILE SYSTEM > P:Ted Ts'o > M:[EMAIL PROTECTED] >

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Joe Perches
On Mon, 2007-08-13 at 11:39 -0500, Eric Sandeen wrote: > (And to be fair about it in terms of actual work done so far, please > put > the other names ahead of mine!) :) EXT4 FILE SYSTEM P: Ted Ts'o M: [EMAIL PROTECTED] P: Mingming Cao M: [EMAIL PROTECTED] P: Andreas Dilge

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Eric Sandeen
Joe Perches wrote: > On Mon, 2007-08-13 at 11:19 -0400, Theodore Tso wrote: >> Yep, agreed. > > OK. saved in my tree as > > EXT4 FILE SYSTEM > P: Ted Ts'o > M:[EMAIL PROTECTED] > P:Eric Sandeen > M:[EMAIL PROTECTED] Close... try [EMAIL PROTECTED], now :) Andreas should still be

Re: [RFC] mballoc patches

2007-08-13 Thread Aneesh Kumar K.V
Aneesh Kumar K.V wrote: Alex actually pointed me the new mballoc patches at ftp://ftp.clusterfs.com/pub/people/alex/mballoc3 The series is the forward port of the same on top of d4ac2477fad0f2680e84ec12e387ce67682c5c13 (v2.6.23-rc2) I guess the mballoc3 patch at clusterfs.com is based on a p

Re: Future of ext2 support in the Hurd?

2007-08-13 Thread Theodore Tso
On Sun, Aug 12, 2007 at 08:13:36PM -0700, Roland McGrath wrote: > Indeed some people do use the Hurd and they all do rely on the EXT2_OS_HURD > format support in e2fsprogs. It's the intended plan to migrate away from > EXT2_OS_HURD format and use a strict subset of the ext2 format features > used

Re: Future of ext2 support in the Hurd?

2007-08-13 Thread Theodore Tso
On Mon, Aug 13, 2007 at 02:02:11AM +0200, Marcus Brinkmann wrote: > In fact, I just searched for your name, and it pops up in the network > stack, but not in the ext2fs translator (the above files are copyright > Remy Card and Linus Torvald). I only did a quick look, but I recognized some Linux co

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Joe Perches
On Mon, 2007-08-13 at 11:19 -0400, Theodore Tso wrote: > Yep, agreed. OK. saved in my tree as EXT4 FILE SYSTEM P: Ted Ts'o M: [EMAIL PROTECTED] P: Eric Sandeen M: [EMAIL PROTECTED] P: Mingming Cao M: [EMAIL PROTECTED] L: linux-ext4@vger.kernel.org S: Mainta

Re: Future of ext2 support in the Hurd?

2007-08-13 Thread Theodore Tso
On Mon, Aug 13, 2007 at 01:27:02AM +0200, Marcus Brinkmann wrote: > We have no intention to drop support for it. In fact, we are very > happy with it. How much are we a burden for you? If it helps, we can > probably arrange it so that a volunteer cooperates with you if work is > involved in keep

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Theodore Tso
On Mon, Aug 13, 2007 at 03:01:28AM -0600, Andreas Dilger wrote: > > EXT4 FILE SYSTEM > > -P: Stephen Tweedie, Andrew Morton > > -M: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > > +P: Stephen Tweedie > > +M: [EMAIL PROTECTED] > > +P: Andrew Morton > > +M: [EMAIL PROTECTED] > > +P: Andr

Re: [PATCH] ext3: fix ext34_fill_super group description initialization

2007-08-13 Thread Mariusz Kozlowski
> ->s_group_desc have to be zero filled because if sb_read() failed > we jump to following error path. > failed_mount2: > for (i = 0; i < db_count; i++) > brelse(sbi->s_group_desc[i]);<< Bad things may happen here > > Signed-off-by: Dmitry Monakhov <[EMAIL PROTECTED]> > --- > f

[kj] is_power_of_2 in ext

2007-08-13 Thread vignesh babu
Replacing n & (n - 1) for power of 2 check by is_power_of_2(n) Signed-off-by: vignesh babu <[EMAIL PROTECTED]> --- diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 639a32c..f932c60 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -30,6 +30,7 @@ #include #include #include +#include

Re: [PATCH 00/25] move handling of setuid/gid bits from VFS into individual setattr functions (RESEND)

2007-08-13 Thread Jeff Layton
On Mon, 13 Aug 2007 08:01:34 -0400 Jeff Layton <[EMAIL PROTECTED]> wrote: > On Sat, 11 Aug 2007 03:57:39 +0100 > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > > I like the idea of checking ia_valid after return a lot. But instead of > > going BUG() it should just do the default action, that

Re: [PATCH 00/25] move handling of setuid/gid bits from VFS into individual setattr functions (RESEND)

2007-08-13 Thread Jeff Layton
On Sat, 11 Aug 2007 03:57:39 +0100 Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > I like the idea of checking ia_valid after return a lot. But instead of > going BUG() it should just do the default action, that we can avoid > touching all the filesystem and only need to change those that need >

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Stephen C. Tweedie
Hi, On Mon, 2007-08-13 at 03:01 -0600, Andreas Dilger wrote: > To be honest, Stephen and Andrew haven't been directly involved in > the ext4 development. It probably makes more sense to have e.g. > Eric Sandeen, Ted Ts'o, and MingMing Cao in their place. Works for me. --Stephen - To unsubscr

[PATCH 3/6] e2fsprogs: Make mke2fs use undo I/O manager.

2007-08-13 Thread Aneesh Kumar K.V
When running mke2fs, if a file system is detected on the device, we use Undo I/O manager as the io manager. This helps in reverting the changes made to the filesystem in case we wrongly selected the device. The environment variable MKE2FS_SCRATCH_DIR is used to indicate the directory within which

[PATCH 5/6] e2fsprogs: Fix the resize inode test case

2007-08-13 Thread Aneesh Kumar K.V
With the new mke2fs changes the output of the command differs if we run mke2fs on a device that already have the file system. So erase the file system before running mke2fs so that output remain as expected. Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- tests/r_resize_inode/script |

[PATCH 2/6] e2fsprogs: Add undoe2fs

2007-08-13 Thread Aneesh Kumar K.V
undoe2fs can be used to replay the transaction saved in the transaction file using undo I/O Manager Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- misc/Makefile.in | 10 ++- misc/undoe2fs.c | 220 ++ 2 files changed, 228 insertions(

e2fsprogs patches

2007-08-13 Thread Aneesh Kumar K.V
The series is on top of f1f115a78f5ea599fc5f8815a741d43fedd5840d - To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 6/6] e2fsprogs: Add test case for undoe2fs

2007-08-13 Thread Aneesh Kumar K.V
This adds two test case for undoe2fs. Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- tests/test_config |1 + tests/u_undoe2fs_mke2fs/script | 31 +++ tests/u_undoe2fs_tune2fs/script | 31 +++ 3 files changed,

[PATCH 4/6] e2fsprogs: Support for large inode migration.

2007-08-13 Thread Aneesh Kumar K.V
Add new option -I to tune2fs. This is used to change the inode size. The size need to be multiple of 2 and we don't allow to decrease the inode size. As a part of increasing the inode size we increase the inode table size. We also move the used data blocks around and update the respective inodes

[PATCH 1/6] e2fsprogs: Add undo I/O manager

2007-08-13 Thread Aneesh Kumar K.V
This I/O manager saves the contents of the location being overwritten to a tdb database. This helps in undoing the changes done to the file system. The call sequence involve set_undo_io_backing_manager(unix_io_manager); set_undo_io_backup_file("/tmp/test.tdb"); retval = ext2fs_open2(dev_name, 0,

[PATCH 1/4] Add some new function for searching extent tree.

2007-08-13 Thread Aneesh Kumar K.V
From: Alex Tomas <[EMAIL PROTECTED]> ext4_ext_search_left ext4_ext_search_right --- fs/ext4/extents.c | 142 +++ include/linux/ext4_fs_extents.h |2 + 2 files changed, 144 insertions(+), 0 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext

[PATCH 4/4] Fixes to make it build and run

2007-08-13 Thread Aneesh Kumar K.V
--- fs/ext4/balloc.c| 37 +++--- fs/ext4/extents.c |7 +-- fs/ext4/mballoc.c | 96 ++ include/linux/ext4_fs.h | 19 + 4 files changed, 74 insertions(+), 85 deletions(-) diff --git a/fs/ext4/balloc.c b/fs

[PATCH 3/4] This is the equivalent of ext3-mballoc3-sles10.patch

2007-08-13 Thread Aneesh Kumar K.V
--- fs/ext4/Makefile |2 +- fs/ext4/balloc.c | 58 ++--- fs/ext4/extents.c | 44 +++--- fs/ext4/inode.c | 14 +- fs/ext4/super.c | 18 ++ fs/ext4/xattr.

[RFC] mballoc patches

2007-08-13 Thread Aneesh Kumar K.V
Alex actually pointed me the new mballoc patches at ftp://ftp.clusterfs.com/pub/people/alex/mballoc3 The series is the forward port of the same on top of d4ac2477fad0f2680e84ec12e387ce67682c5c13 (v2.6.23-rc2) I guess the mballoc3 patch at clusterfs.com is based on a patched ext3(I guess it is e

Re: [PATCH] ext3: fix ext34_fill_super group description initialization

2007-08-13 Thread Aneesh Kumar K.V
Dmitry Monakhov wrote: ->s_group_desc have to be zero filled because if sb_read() failed we jump to following error path. failed_mount2: for (i = 0; i < db_count; i++) brelse(sbi->s_group_desc[i]);<< Bad things may happen here But the db_count is updated in the failu

Re: [PATCH] [187/2many] MAINTAINERS - EXT3 FILE SYSTEM

2007-08-13 Thread Andreas Dilger
On Aug 13, 2007 02:59 -0600, Andreas Dilger wrote: > > EXT3 FILE SYSTEM > > You may as well have fs/jbd/* and include/linux/jbd.h for ext3. Ignore this, there is a separate section for that already... Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - T

Re: [PATCH] ext3: fix ext34_fill_super group description initialization

2007-08-13 Thread Dmitry Monakhov
On 13:09 Mon 13 Aug , Dmitry Monakhov wrote: > ->s_group_desc have to be zero filled because if sb_read() failed > we jump to following error path. > failed_mount2: > for (i = 0; i < db_count; i++) > brelse(sbi->s_group_desc[i]);<< Bad things may happen here OOPs i'm sorry.

[PATCH] ext3: fix ext34_fill_super group description initialization

2007-08-13 Thread Dmitry Monakhov
->s_group_desc have to be zero filled because if sb_read() failed we jump to following error path. failed_mount2: for (i = 0; i < db_count; i++) brelse(sbi->s_group_desc[i]);<< Bad things may happen here Signed-off-by: Dmitry Monakhov <[EMAIL PROTECTED]> --- fs/ext3/super.

Re: [PATCH] [188/2many] MAINTAINERS - EXT4 FILE SYSTEM

2007-08-13 Thread Andreas Dilger
On Aug 12, 2007 23:27 -0700, [EMAIL PROTECTED] wrote: > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index 814168d..992a314 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1808,10 +1808,16 @@ F:fs/ext3/ > F: include/linux/ext3* > > EXT

Re: [PATCH] [187/2many] MAINTAINERS - EXT3 FILE SYSTEM

2007-08-13 Thread Andreas Dilger
On Aug 12, 2007 23:27 -0700, [EMAIL PROTECTED] wrote: > Add file pattern to MAINTAINER entry > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index 653b9a0..814168d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1796,10 +1796,16 @@ F:fs/ex