xfs: test log recovery checksum with different log buf sizes

XFS had a bug which lead to spurious checksum failures during
verification of log records during recovery. This occurred when the
filesystem was mounted for recovery with a different log buffer size
(via the 'logbsize=...' mount option from when the filesystem crashed.

Create a regression test that dirties the log using one particular log
buffer size, shuts down the fs and attempts recovery using a larger log
buffer size.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Brian Foster
2015-08-04 14:10:49 +10:00
committed by Dave Chinner
parent a092363bbd
commit f56f5bd013
3 changed files with 91 additions and 0 deletions
+1
View File
@@ -76,6 +76,7 @@
076 auto enospc
077 auto quick copy
078 growfs auto quick
079 auto log quick
080 rw ioctl
081 deprecated # log logprint quota
082 deprecated # log logprint v2log