]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
src/t_open_tmpfiles: flush log when shutting down filesystem
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 18 Feb 2019 18:13:59 +0000 (10:13 -0800)
committerEryu Guan <guaneryu@gmail.com>
Thu, 21 Feb 2019 01:48:27 +0000 (09:48 +0800)
commit5fd70db390ddd3644d3e4c9c8a8e4ad46d6cd20c
tree2e77502366f57475d794fccb821490cd2749121e
parente7046479b477515d22ea2aab7044d8b00b171299
src/t_open_tmpfiles: flush log when shutting down filesystem

If the caller of t_open_tmpfiles wants to shut down the filesystem,
be sure to flush the log when we shut down so that log recovery will
have to process all the unlinked temporary files.

This is apparently needed to force ext4 to flush updated inode
blocks through the journal at all.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/t_open_tmpfiles.c