Brian Foster 040c52c0aa 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>
2016-09-26 08:32:50 +10:00
..
2016-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2016-03-31 00:30:15 -04:00
2016-07-27 09:53:35 -07:00
2016-02-09 16:54:58 +11:00
2016-07-20 11:48:46 +10:00
2016-06-01 17:38:15 +10:00
2016-04-06 09:19:55 +10:00
2016-04-06 09:20:36 +10:00