]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - logprint/log_print_all.c
xfsprogs: updata libxlog to current kernel code
authorDave Chinner <dchinner@redhat.com>
Thu, 9 May 2013 13:19:06 +0000 (08:19 -0500)
committerRich Johnston <rjohnston@sgi.com>
Thu, 9 May 2013 13:19:06 +0000 (08:19 -0500)
commit999f0b9c38baf5ef72535c6bb4df7ca0db677192
tree56c6c567421e556f64eb3e274653c1e11062a96d
parent7e280e68cab97e321e306c6d1b2e684095f47296
xfsprogs: updata libxlog to current kernel code

Update the libxlog log recovery code to match the current 3.8-rc2
kernel code and ensure all the callers work correctly.

Note: while this introduces CRC validation infrastructure, it is
currently short-circuited as it is not clear what to do with log
buffers that fail CRC checking. We're only reading the log to
determine it is clean/dirty or dumping the contents for analysis, so
it's not clear what to do with CRC validation errors yet, or even
if there is any commonality with the kernel handling. This will need
to be revisited as the situation clarifies.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
db/sb.c
include/libxlog.h
libxlog/xfs_log_recover.c
logprint/log_copy.c
logprint/log_dump.c
logprint/log_misc.c
logprint/log_print_all.c
logprint/log_print_trans.c
logprint/logprint.c
logprint/logprint.h
repair/phase2.c