Skip to contentSkip to conversation

E2fsprogs 1.40 release imminent!

PATCH In review Theodore Ts'o 4 participants 6 messages Jun 24, 2007 – Jun 30, 2007

lore
Share & tools
lore
#0 lore raw

The hg repository located at:

http://thunk.org/hg/e2fsprogs

... contains what I hope to be the e2fsprogs 1.40 release. If folks could test it and let me know if they find any embarassing bugs, I would greatly appreciate it. It can also be found at:

ftp://ftp.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/e2fsprogs-1.40-rc1.tar.gz

Over the next few days, I'll be working on converting e2fsprogs SCM from hg to git. Assuming no one finds any problems, I'll be releasing e2fsprogs 1.40 by the end of the week.

Regards,

- Ted

#1 lore raw
Quoted 9 lines · Theodore Ts'o

The hg repository located at:

http://thunk.org/hg/e2fsprogs

... contains what I hope to be the e2fsprogs 1.40 release. If folks could test it and let me know if they find any embarassing bugs, I would greatly appreciate it. It can also be found at:

ftp://ftp.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/e2fsprogs-1.40-rc1.tar.gz

The release at the URL above seems to solve the issues I've been seeing on ARM (in particular, it seems to fix the strict aliasing issue that was causing dumpe2fs to segfault.)

Thanks!

#2 lore raw

PATCH 1/1 e2fsprogs: Add undo I/O manager [ Was Re: E2fsprogs 1.40 release imminent! ]

In reply to Theodore Ts'o
Quoted 8 lines · Theodore Ts'o

The hg repository located at:

http://thunk.org/hg/e2fsprogs

... contains what I hope to be the e2fsprogs 1.40 release. If folks could test it and let me know if they find any embarassing bugs, I would greatly appreciate it. It can also be found at:

Quoted 7 lines

ftp://ftp.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/e2fsprogs-1.40-rc1.tar.gz

Over the next few days, I'll be working on converting e2fsprogs SCM from hg to git. Assuming no one finds any problems, I'll be releasing e2fsprogs 1.40 by the end of the week.

What about undo I/O manager ?

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, flags,

		superblock, block_size, undo_io_manager,
		&current_fs);

The patch is on top of e2fsprogs-upstream mercurial repo

----

lib/ext2fs/Makefile.in +0 -0
diff -r fe55db3e508c lib/ext2fs/Makefile.in
@@ -66,7 +66,8 @@ OBJS= $(DEBUGFS_LIB_OBJS) $(RESIZE_LIB_O
	unix_io.o \
	unlink.o \
	valid_blk.o \

- version.o
+ version.o \
+ undo_io.o

SRCS= ext2_err.c \
	$(srcdir)/alloc.c \
@@ -134,7 +135,8 @@ SRCS= ext2_err.c \
	$(srcdir)/tst_bitops.c \
	$(srcdir)/tst_byteswap.c \
	$(srcdir)/tst_getsize.c \

- $(srcdir)/tst_iscan.c
+ $(srcdir)/tst_iscan.c \
+ $(srcdir)/undo_io.c

HFILES= bitops.h ext2fs.h ext2_io.h ext2_fs.h ext2_ext_attr.h ext3_extents.h \
tdb.h
@@ -583,3 +585,4 @@ tst_iscan.o: $(srcdir)/tst_iscan.c $(src
$(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
$(srcdir)/ext2_fs.h $(srcdir)/ext3_extents.h $(top_srcdir)/lib/et/com_err.h \
$(srcdir)/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+undo_io.o: $(srcdir)/undo_io.c $(srcdir)/ext2_fs.h $(srcdir)/ext2fs.h

lib/ext2fs/ext2_io.h +0 -0
diff -r fe55db3e508c lib/ext2fs/ext2_io.h
@@ -96,6 +96,11 @@ extern errcode_t io_channel_write_byte(i

/* unix_io.c */
extern io_manager unix_io_manager;

+/* undo_io.c */
+extern io_manager undo_io_manager;
+extern errcode_t set_undo_io_backing_manager(io_manager manager); +extern errcode_t set_undo_io_backup_file(char *file_name); +
/* test_io.c */
extern io_manager test_io_manager, test_io_backing_manager; extern void (*test_io_cb_read_blk)

lib/ext2fs/undo_io.c new file +478 -0

478 lines not on this page · raw message

#3 lore raw

Re: [PATCH] e2fsprogs: Add undo I/O manager [ Was Re: E2fsprogs 1.40 release imminent! ]

Quoted 1 line · Aneesh Kumar K.V

What about undo I/O manager ?

That and many other queued patches will be merged after 1.40 releases. I didn't want to include anything that would be high risk or wouldn't be useful as standalone. The undo manager by itself isn't going to be useful until it's integrated into other e2fsprogs programs, and I didn't want to put off the 1.40 release. So for the past couple of weeks I've only been merging bug fixes so we could do a stable release.

Regards,

- Ted

#4 lore raw
In reply to Theodore Ts'o

Am Montag 25 Juni 2007 schrieb Theodore Ts'o:

Quoted 3 lines

... contains what I hope to be the e2fsprogs 1.40 release. If folks could test it and let me know if they find any embarassing bugs, I would greatly appreciate it. It can also be found at:

There are a bunch of patches applied in the gentoo package that might be worth looking at:
http://dev.gentoo.org/~hanno/e2fsprogs/

All of them still seem to apply to the current mercurial source. I'm not really familiar with them, just noted that there are a lot of patches and nobody seemed to care sending upstream in the past.

e2fsprogs-1.32-mk_cmds-cosmetic.patc
e2fsprogs-1.38-tests-locale.patch
e2fsprogs-1.39-makefile.patch
e2fsprogs-1.39-parse-types.patch
e2fsprogs-1.39-util-strptime.patch
e2fsprogs-1.40-libintl.patch

Signature · 2 lines
Hanno Böck		Blog:   http://www.hboeck.de/
GPG: 3DBD3B20		Jabber: [email protected]
#5 lore raw
Quoted 13 lines · Hanno Böck

Am Montag 25 Juni 2007 schrieb Theodore Ts'o:

Quoted 3 lines

... contains what I hope to be the e2fsprogs 1.40 release. If folks could test it and let me know if they find any embarassing bugs, I would greatly appreciate it. It can also be found at:

There are a bunch of patches applied in the gentoo package that might be worth looking at:
http://dev.gentoo.org/~hanno/e2fsprogs/

All of them still seem to apply to the current mercurial source. I'm not really familiar with them, just noted that there are a lot of patches and nobody seemed to care sending upstream in the past.

Quoted 6 lines

e2fsprogs-1.32-mk_cmds-cosmetic.patc
e2fsprogs-1.38-tests-locale.patch
e2fsprogs-1.39-makefile.patch
e2fsprogs-1.39-parse-types.patch
e2fsprogs-1.39-util-strptime.patch
e2fsprogs-1.40-libintl.patch

Thanks, none of these are critical. I'll go through them and apply them after the 1.40 release.

e2fsprogs-1.39-util-strptime.patch was fixed in another way in my sources.

- Ted