[Top] [All Lists]

TAKE 952214 - log recovery compat on 32/64 bit

To: sgi.bugs.xfs@xxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: TAKE 952214 - log recovery compat on 32/64 bit
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 May 2006 15:20:47 +1000 (AEST)
Sender: xfs-bounce@xxxxxxxxxxx
The change here is to allow a dirty log XFS filesystem be replayed on a same
endian machine but of different word size (eg. i386 and x86_64).


inode items and EFI/EFDs have different ondisk format for 32bit and 64bit 
allow recovery to handle both versions and do the necessary decoding

Date:  Wed May 24 15:09:04 AEST 2006
Workarea:  snort.melbourne.sgi.com:/home/tes/isms/xfs-linux-3264
Inspected by:  nathans@xxxxxxx

The following file(s) were checked into:

Modid:  xfs-linux-melb:xfs-kern:26011a
xfs_extfree_item.h - 1.21 - changed
        - 32 and 64 bit variants of the EFIs and EFDs format structures.
          At the moment, the EFD format variants are just used to test if the
          data on recovery is of a valid size.

xfs_extfree_item.c - 1.63 - changed
        - Code to convert the 32 bit and 64 bit versions of EFIs to the native 
          We don't convert the EFDs extents because their extents are never 

xfs_inode_item.c - 1.126 - changed
        - Code to convert the 32 bit and 64 bit versions of inode_log_format 

xfs_inode_item.h - 1.48 - changed
        - 32 and 64 bit variants of the inode log format structures.
          Delete the structure for the v1 variant which was used on IRIX 5.3.

xfs_log_recover.c - 1.308 - changed
        - Decode the inode log format structs for recovery.
          Decode the EFI log format structs for recovery.

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