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).
--Tim
inode items and EFI/EFDs have different ondisk format for 32bit and 64bit
kernels
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:
longdrop.melbourne.sgi.com:/isms/xfs-kern/xfs-linux-melb
Modid: xfs-linux-melb:xfs-kern:26011a
xfs_extfree_item.h - 1.21 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_extfree_item.h.diff?r1=text&tr1=1.21&r2=text&tr2=1.20&f=h
- 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
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_extfree_item.c.diff?r1=text&tr1=1.63&r2=text&tr2=1.62&f=h
- Code to convert the 32 bit and 64 bit versions of EFIs to the native
version.
We don't convert the EFDs extents because their extents are never
used.
xfs_inode_item.c - 1.126 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode_item.c.diff?r1=text&tr1=1.126&r2=text&tr2=1.125&f=h
- Code to convert the 32 bit and 64 bit versions of inode_log_format
structures.
xfs_inode_item.h - 1.48 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode_item.h.diff?r1=text&tr1=1.48&r2=text&tr2=1.47&f=h
- 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
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_recover.c.diff?r1=text&tr1=1.308&r2=text&tr2=1.307&f=h
- Decode the inode log format structs for recovery.
Decode the EFI log format structs for recovery.
|