Up to [Development] / xfs-linux-nodel
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.355 / (download) - annotate - [select for diffs], Fri Oct 17 03:01:13 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.354: +7 -1
lines
Diff to previous 1.354 (colored)
XFS: Check for valid transaction headers in recovery When we are about to add a new item to a transaction in recovery, we need to check that it is valid first. Currently we just assert that header magic number matches, but in production systems that is not present and we add a corrupted transaction to the list to be processed. This results in a kernel oops later when processing the corrupted transaction. Instead, if we detect a corrupted transaction, abort recovery and leave the user to clean up the mess that has occurred. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32356a by kenmcd. check for valid trans headers in recovery