summaryrefslogtreecommitdiff
path: root/tests/f_journal
AgeCommit message (Collapse)AuthorFilesLines
2003-08-21Add support for backing up the journal inode location in the Theodore Ts'o3-1/+3
superblock. E2fsck will automatically save the journal information in the superblock if it is not there already, and will use it if the journal inode appears to be corrupted. ext2fs_add_journal_inode() will also save the backup information, so that new filesystems created by mke2fs and filesystems that have journals added via tune2fs will also have journal location written to the superblock as well. Debugfs's logdump command has been enhanced so that it can use the journal information in the superblock. The debugfs man page has been improved to more fully describe the logdump command. Added two new functions, ext2fs_file_open2() and ext2fs_inode_io_intern2() which take a pointer to an inode structure; this is needed so that e2fsck and debugfs can synthesize a fake journal inode and use it to access the journal.
2001-11-30f_badorphan, f_journal: Update expect files to reflect the factTheodore Ts'o2-2/+4
that new e2fsck's will move the .journal file to a hidden inode.
2000-10-25ChangeLog, mke2fs.c:Theodore Ts'o1-0/+1
mke2fs.c (PRS): Applied Andreas Dilger's patch to make the -r -s handling a bit more sane. (Even though -s is deprecated at this point.) ChangeLog, expect.1: f_journal: Update to take into account new printing by the e2fsck program. version.h: Update for upcoming WIP release.
2000-10-18ChangeLog, expect.1, expect.2, image.gz:Theodore Ts'o3-54/+50
f_journal: Make the test check for a wide variety of mixed sizes of orphaned inodes (and not just a size of 0).
2000-08-20ChangeLog, hold_inode.c, random_exercise.c:Theodore Ts'o4-0/+69
random_exercise.c: New file which feeds a lot of file creations and deletions (while leaving the file descriptor open, and then closing the file descriptor later). This generates lots of fodder for the orphan list code, as well as for the ext3 journal. hold_inode.c: New file which holds an inode or a directory open (for testing orphan list code). ChangeLog, run_e2fsck, expect.1, expect.2, image.gz, name, expect: run_e2fsck: Filter out JFS DEBUG messages when comparing e2fsck output. f_journal: New test case which checks out running the ext3 journal. f_orphan: New test case which checks clearing the list of orphan inodes (files and directories). f_swapfs/expect: Update to reflect new debugfs format for dumping the blocks of an inode.