summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trace.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2016-09-26 01:32:50 +0300
committerDave Chinner <david@fromorbit.com>2016-09-26 01:32:50 +0300
commit040c52c0aa7c1736522676078ece0483c8596daf (patch)
tree282d2313e2900a38cfd17df9cde6b690b45aa59e /fs/xfs/xfs_trace.h
parent22db9af2488655f7f841e9588d25384a5e694fa6 (diff)
downloadlinux-040c52c0aa7c1736522676078ece0483c8596daf.tar.xz
xfs: don't warn on buffers not being recovered due to LSN
The log recovery buffer validation function is invoked in cases where a buffer update may be skipped due to LSN ordering. If the validation function happens to come across directory conversion situations (e.g., a dir3 block to data conversion), it may warn about seeing a buffer log format of one type and a buffer with a magic number of another. This warning is not valid as the buffer update is ultimately skipped. This is indicated by a current_lsn of NULLCOMMITLSN provided by the caller. As such, update xlog_recover_validate_buf_type() to only warn in such cases when a buffer update is expected. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
0 files changed, 0 insertions, 0 deletions