Whamcloud - gitweb
tests: test writing and recovering 64bit csum_v3 journals
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Sep 2014 23:13:08 +0000 (16:13 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 20:52:39 +0000 (16:52 -0400)
commit20466c8045d9d2511023b36d104d7f548935968f
treee9c957e52aabf00ada69eb3cdba642dc149bf892
parent9ce517d43eaa05a6282fa35582cb284a529f0da0
tests: test writing and recovering 64bit csum_v3 journals

Simple tests for the 64bit journal transaction creation code when
journal and metadata_csum are enabled.   We test writing (bad) block
bitmaps out through the journal and replaying them via fsck, with a
few twists:

(a) All bitmaps are committed (fs errors reported)
(b) All the bitmap blocks are revoked (no errors)
(c) The transaction is never committed (no errors)
(d) Same as (a), but debugfs gets to do the replay.

We also test:

(a) writing and replaying transactions with multiple
    descriptor blocks
(b) same, but with multiple revoke blocks.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
18 files changed:
tests/j_long_revoke_trans_mcsum_64bit/expect [new file with mode: 0644]
tests/j_long_revoke_trans_mcsum_64bit/name [new file with mode: 0644]
tests/j_long_revoke_trans_mcsum_64bit/script [new file with mode: 0644]
tests/j_long_trans_mcsum_64bit/expect [new file with mode: 0644]
tests/j_long_trans_mcsum_64bit/name [new file with mode: 0644]
tests/j_long_trans_mcsum_64bit/script [new file with mode: 0644]
tests/j_short_revoke_trans_mcsum_64bit/expect [new file with mode: 0644]
tests/j_short_revoke_trans_mcsum_64bit/name [new file with mode: 0644]
tests/j_short_revoke_trans_mcsum_64bit/script [new file with mode: 0644]
tests/j_short_trans_mcsum_64bit/expect [new file with mode: 0644]
tests/j_short_trans_mcsum_64bit/name [new file with mode: 0644]
tests/j_short_trans_mcsum_64bit/script [new file with mode: 0644]
tests/j_short_trans_recover_mcsum_64bit/expect [new file with mode: 0644]
tests/j_short_trans_recover_mcsum_64bit/name [new file with mode: 0644]
tests/j_short_trans_recover_mcsum_64bit/script [new file with mode: 0644]
tests/j_short_uncommitted_trans_mcsum_64bit/expect [new file with mode: 0644]
tests/j_short_uncommitted_trans_mcsum_64bit/name [new file with mode: 0644]
tests/j_short_uncommitted_trans_mcsum_64bit/script [new file with mode: 0644]