summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-04-27 19:45:22 +1000
committerBen Myers <bpm@sgi.com>2012-05-14 16:20:37 -0500
commit81158e0cecdf53b1f6d88a514c6c20e0ee18ec7b (patch)
tree245eea9725a044314335625b265d29ac3b3fa729 /firmware
parentd3bc815afb549eecb3679a4b2f0df216e34df998 (diff)
downloadlinux-81158e0cecdf53b1f6d88a514c6c20e0ee18ec7b.tar.bz2
xfs: prevent needless mount warning causing test failures
Often mounting small filesystem with small logs will emit a warning such as: XFS (vdb): Invalid block length (0x2000) for buffer during log recovery. This causes tests to randomly fail because this output causes the clean filesystem checks on test completion to think the filesystem is inconsistent. The cause of the error is simply that log recovery is asking for a buffer size that is larger than the log when zeroing the tail. This is because the buffer size is rounded up, and if the right head and tail conditions exist then the buffer size can be larger than the log. Limit the variable size xlog_get_bp() callers to requesting buffers smaller than the log. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions