[PATCH] removing e2fsprogs compiling warnings

2007-08-01 Thread Coly Li
This patch remove 3 compiling warning of current e2fsprogs git. Best regards. Coly diff --git a/debugfs/set_fields.c b/debugfs/set_fields.c index b50ff7c..ce0301f 100644 --- a/debugfs/set_fields.c +++ b/debugfs/set_fields.c @@ -16,6 +16,7 @@ #include #include #include +#include #includ

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

2007-08-01 Thread Andreas Dilger
On Aug 01, 2007 11:44 +0530, Aneesh Kumar K.V wrote: > Andreas Dilger wrote: > >On Aug 01, 2007 07:34 +0530, Aneesh Kumar K.V wrote: > >>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

Re: [EXT4 set 8][PATCH 1/1]Add journal checksums

2007-08-01 Thread Girish Shilamkar
On Wed, 2007-07-11 at 17:16 +0530, Girish Shilamkar wrote: > I will make the changes and send an incremental patch. > Hi, I have made the changes and attached the incremental patch as per the review. This is the actual changelog which was missing in the original patch. -- The journa

Re: [PATCH 2/4] e2fsprogs: Add undoe2fs

2007-08-01 Thread Andreas Dilger
On Aug 01, 2007 11:46 +0530, Aneesh Kumar K.V wrote: > Andreas Dilger wrote: > >On Aug 01, 2007 07:34 +0530, Aneesh Kumar K.V wrote: > >>undoe2fs can be used to replay the transaction saved > >>in the transaction file using undo I/O Manager > > > >This should save the mtime of the superblock, and

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

2007-08-01 Thread Aneesh Kumar K.V
Andreas Dilger wrote: On Aug 01, 2007 07:34 +0530, Aneesh Kumar K.V wrote: 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 enviro

Re: [PATCH 2/4] e2fsprogs: Add undoe2fs

2007-08-01 Thread Aneesh Kumar K.V
Andreas Dilger wrote: On Aug 01, 2007 11:46 +0530, Aneesh Kumar K.V wrote: Andreas Dilger wrote: On Aug 01, 2007 07:34 +0530, Aneesh Kumar K.V wrote: undoe2fs can be used to replay the transaction saved in the transaction file using undo I/O Manager This should save the mtime of the super

Re: [PATCH 2/4] e2fsprogs: Add undoe2fs

2007-08-01 Thread Andreas Dilger
On Aug 01, 2007 13:22 +0530, Aneesh Kumar K.V wrote: > >>Can you let me know a use case where this will fail. > > > >- modify filesystem with undo manager (e.g. inode resize) > >- mount filesystem, make changes, unmount > >- run undoe2fs to overwrite filesystem, corrupting it > > But that won't c

[PATCH] e2fsck/e2fsprogs: answer yes/no to a group of questions

2007-08-01 Thread Bernd Schubert
Hi, saying yes or no to all e2fsck questions can be rather annoying (yes I know -p and -y), so here's a patch to answer yes or no to a group of questions. Cheers, Bernd diff -r 9a2f051a0a1d e2fsck/e2fsck.h --- a/e2fsck/e2fsck.h Fri Jun 29 23:09:16 2007 -0400 +++ b/e2fsck/e2fsck.h Fri Jul 27 16:08

[PATCH] e2fsck/e2fsprogs: use sscanf() instead of atoi() in the option parser

2007-08-01 Thread Bernd Schubert
[resent since the first mail doesn't seem to make it to this list] Hi, using atoi() should be avoided in the option parser since it doesn't check for errors. I almost destroyed an important filesystem since I specified "e2fsck -C -n" and -n was parsed as option to -C Cheers, Bernd diff -r 7b0

e2fsprogs patches

2007-08-01 Thread Aneesh Kumar K.V
I have updated the patches to take care of comments posted by Andreas. I also reworked the undoe2fs to use io_channel rather than open coding open/write. Regarding the naming of tdb file i decided to go with mke2fs- instead of mke2fs--. I guess having multiple version of this file in the tdb_dir w

[PATCH 2/4] e2fsprogs: Add undoe2fs

2007-08-01 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V <[EMAIL PROTECTED]> 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 | 217

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

2007-08-01 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V <[EMAIL PROTECTED]> 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 blo

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

2007-08-01 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V <[EMAIL PROTECTED]> 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/tes

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

2007-08-01 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V <[EMAIL PROTECTED]> 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

ext4 stable?

2007-08-01 Thread Anton Andreev
Hi, When can we expect a stable release of ext4? Cheers, Anton - 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