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

2007-06-08 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,

Re: [RFC PATCH 1/1] e2fsprogs: Add undo I/O manager.

2007-06-07 Thread Aneesh Kumar K.V
Theodore Tso wrote: On Wed, Jun 06, 2007 at 03:32:27PM +0530, Aneesh Kumar K.V wrote: If we allow to change the block size in between that would mean the records that we store in the tdb database will be of variable size ( different block sizes). That would also add all the code/complexity

Re: [RFC PATCH 1/1] e2fsprogs: Add undo I/O manager.

2007-06-06 Thread Aneesh Kumar K.V
Theodore Tso wrote: On Tue, May 22, 2007 at 03:47:33PM +0530, Aneesh Kumar K.V wrote: 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. + /* loop through the existing entries and find if

Re: [RFC PATCH 1/1] e2fsprogs: Add undo I/O manager.

2007-06-03 Thread Theodore Tso
On Tue, May 22, 2007 at 03:47:33PM +0530, Aneesh Kumar K.V wrote: 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. + /* loop through the existing entries and find if they overlap */ +