xfs
[Top] [All Lists]

REVIEW: Make sure xfs_repair uses sector aligned I/O

To: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>, xfs-dev <xfs-dev@xxxxxxx>
Subject: REVIEW: Make sure xfs_repair uses sector aligned I/O
From: "Barry Naujok" <bnaujok@xxxxxxx>
Date: Fri, 13 Jul 2007 10:41:47 +1000
Organization: SGI
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Opera Mail/9.10 (Win32)
Two places it didn't:
 - reading the initial primary superblock
 - checking the log

The log checking fix was basically porting the kernel
xlog_bread/xlog_get_bp/xlog_align from the kernel and
setting up the log_t structure properly in Phase 2.

The initial primary superblock read is now done
using the maximum supported sector size as once the
block is read and translated to another location,
it's discarded.

Attachment: sector_aligned_repair.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>