Commit Graph

26 Commits (24883d4949a8b5180aa8cd700c558ec0590481dd)

Author SHA1 Message Date
Vitaliy Filippov 24883d4949 Open backing device as readonly in patch manager 2014-01-07 12:31:36 +00:00
Vitaliy Filippov 7548dd188c Patch I/O manager comment 2014-01-07 12:30:14 +00:00
Vitaliy Filippov 8bf3f6d012 Disallow moving resize inode; use ext2fs_block_alloc_stats2 in block mover 2014-01-07 12:25:10 +00:00
Vitaliy Filippov ee1b499ca9 e2patch utility for applying/restoring patches 2014-01-07 10:31:13 +00:00
Vitaliy Filippov f94c155aab Move common patch file functions to separate source 2014-01-07 08:07:24 +00:00
Vitaliy Filippov a7bf43764f option for patch_io_manager; clean the code 2014-01-07 07:28:59 +00:00
Vitaliy Filippov d891ecbf1d Patch format 2014-01-06 23:10:17 +00:00
Vitaliy Filippov 310547b6b8 Patch I/O manager 2014-01-06 23:06:01 +00:00
Vitaliy Filippov 5607c6cf1f Check the bad block inode during block moving 2014-01-05 20:12:18 +00:00
Vitaliy Filippov 7f03acc619 Fix for the case when inode block count doesn't change;
Warn about inode number rounding;
Respect unused_inodes during inode table moving.
2014-01-05 19:20:44 +00:00
Vitaliy Filippov 9dfbea8e54 shorter names for old/new inode count variables 2014-01-05 19:20:39 +00:00
Vitaliy Filippov 15e3f31df8 Use same code for block moving with and without flex_bg 2014-01-05 11:36:39 +00:00
Vitaliy Filippov b8f52b6c8b Use same code for flex_bg and no flex_bg; check for gdt_csum feature before adjusting free_inodes_count; the tool now works correctly on ext2 2014-01-05 11:17:21 +00:00
Vitaliy Filippov 36ac4a8330 Inode table growing now works on a basic test case! 2014-01-04 20:29:42 +00:00
Vitaliy Filippov 9f543c9ca1 Add bmove.c as a basis for block moving during inode table grow 2014-01-04 20:29:32 +00:00
Vitaliy Filippov 7ba9912c52 Use ext2fs_inode_alloc_stats2, add block moving algorithm details, add (very slow) undo_io_manager support 2013-12-30 21:09:00 +00:00
Vitaliy Filippov 8bb97a550a OK, realloc now works with inode moving! 2013-12-28 22:34:47 +00:00
Vitaliy Filippov ee80425d93 Ahaha, ok, overwrite backup superblocks 2013-12-28 17:21:01 +00:00
Vitaliy Filippov 161e13aad8 Fix warnings 2013-12-28 13:52:39 +00:00
Vitaliy Filippov 97dc1bef18 almost all fsck errors fixed ("primary superblock features different from backup, check forced" left) 2013-12-28 13:14:05 +00:00
Vitaliy Filippov a33f91e388 Works on a VERY basic test case (shrink, no inode moving, no inode number change) with errors successfully corrected by fsck :-))) 2013-12-27 23:14:21 +00:00
Vitaliy Filippov f58ece6d8c Roughly implemented inode table moving 2013-12-27 17:13:24 +00:00
Vitaliy Filippov bf357faaf4 Make a local data struct, add some routines 2013-12-27 12:47:10 +00:00
Vitaliy Filippov 6cb0239e7e adjust algorithm, add inode map impl based on reallocated "vector" 2013-12-26 13:00:03 +00:00
Vitaliy Filippov 0007290747 iterating through dir 2013-12-25 23:18:14 +00:00
Vitaliy Filippov 55f3fa2c01 An attempt to write a tool for ext4 that will allow to change inode count of a filesystem 2013-12-25 10:15:02 +00:00