2024-04-17 02:04:13

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] e2fsck: check all sparse_super backups


On Mon, 04 Sep 2023 14:57:42 +1000, Li Dongyang wrote:
> Teach e2fsck to look for backup super blocks in the "sparse_super"
> groups, by checking group #1 first and then powers of 3^n, 5^n,
> and 7^n, up to the limit of available block groups.
>
> Export ext2fs_list_backups() function to efficiently iterate groups
> for backup sb/GDT instead of checking every group. Ensure that the
> group counters do not try to overflow the 2^32-1 group limit, and
> try to limit scanning to the size of the block device (if available).
>
> [...]

Applied, thanks!

[1/1] e2fsck: check all sparse_super backups
commit: f7ef5f3e356d9ee3e20a4c591456da1cf8184814

Best regards,
--
Theodore Ts'o <[email protected]>