summaryrefslogtreecommitdiff
path: root/tests/f_illitable_flexbg
Commit message (Collapse)AuthorAgeFilesLines
* e2fsck: check and fix tails of all bitmap blocksTheodore Ts'o2019-05-061-0/+2
| | | | | | | | | | | | | | | | | | Currently, e2fsck effectively checks only tail of the last inode and block bitmap in the filesystem. Thus if some previous bitmap has unset bits it goes unnoticed. Mostly these tail bits in the bitmap are ignored; however, if blocks_per_group are smaller than 8*blocksize, the multi-block allocator in the kernel can get confused when the tail bits are unset and return bogus free extent. Add support to libext2fs to check these bitmap tails when loading bitmaps (as that's about the only place which has access to the bitmap tail bits) and make e2fsck use this functionality to detect buggy bitmap tails and fix them (by rewriting the bitmaps). Reported-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>
* e2fsck: report ext2fs_open2() and ext2fs_check_desc() errorsTheodore Ts'o2012-03-211-0/+1
| | | | | | | | | | | | Print the actual errors returned by ext2fs_open2() and ext2fs_check_desc() before we fall back to the backup block group descriptors so that it's easier to see if there is some obscure failure that is causing e2fsck to think that it should use the backup block group descriptors. Addresses-Google-Bug: #6208183 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* e2fsck: print the current and expected block group checksumsTheodore Ts'o2012-03-151-1/+1
| | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* libext2fs: quiet spurious group checksum errorsAndreas Dilger2012-02-071-6/+2
| | | | | | | | | | | | | | | | | | | If we have to read the backup group descriptor checksums, the UNINIT flags are cleared to ensure that all of the inodes in the filesystem are scanned. However, the code that reset the UNINIT flags did not reset the group checksum, and this produced many spurious error messages in e2fsck. Group descriptor 0 checksum is invalid. FIXED. Group descriptor 1 checksum is invalid. FIXED. : : Recompute checksums after modifying group descriptors to avoid these error messages. Remove expected error messages in f_illitable_flexbg. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* f_illitable_flexbg: Add new testTheodore Ts'o2009-08-194-0/+35
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>