summaryrefslogtreecommitdiff
path: root/fs/sync.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2016-09-26 08:32:50 +1000
committerDave Chinner <david@fromorbit.com>2016-09-26 08:32:50 +1000
commit040c52c0aa7c1736522676078ece0483c8596daf (patch)
tree282d2313e2900a38cfd17df9cde6b690b45aa59e /fs/sync.c
parent22db9af2488655f7f841e9588d25384a5e694fa6 (diff)
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/sync.c')
0 files changed, 0 insertions, 0 deletions