]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
ext4/050: support indirect as well as extent mapped journals
authorTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2022 14:46:31 +0000 (10:46 -0400)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Jul 2022 13:31:10 +0000 (21:31 +0800)
commitf30169ce73417154bf058c65525fcd5ce0f5eefd
tree29a2e4597036d6614dd26fb8cb1e10d4045b5df4
parent56171bcb41d4225b54ab24aa4add4552b7aa6bee
ext4/050: support indirect as well as extent mapped journals

Simplify the test and fix ext4/050 failures when running ext4 without
extents enabled (e.g., in ext3 emulation mode).

Instead of relying on parsing debugfs output's (which varies depending
on whether the journal inode is extent mapped or indirect block
mapped), use debugfs's "cat" command to get the contents of the
journal.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ext4/050