Bug 173158 - kernel dm-log: Make mirror log arch-independent
Summary: kernel dm-log: Make mirror log arch-independent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 168429
TreeView+ depends on / blocked
 
Reported: 2005-11-14 18:32 UTC by Alasdair Kergon
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHSA-2006-0132
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 20:44:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:808 0 normal SHIPPED_LIVE Important: kernel security update 2005-10-27 04:00:00 UTC
Red Hat Product Errata RHSA-2006:0132 0 qe-ready SHIPPED_LIVE Moderate: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 3 2006-03-09 16:31:00 UTC

Description Alasdair Kergon 2005-11-14 18:32:22 UTC
The format of the on-disk mirror logs is currently architecture-dependent.
                                                                                
The following patch changes the code to use the same set_le_bit and test_le_bit
functions as ext2 uses.  That makes the BE machines keep the bitmap internally
in LE order. It does mean you can't use any other type of operations on the
bitmap words but that is OK in this instance.
                                                                                
The nice thing about this way is that there is no on-disk format change for
32bit LE boxes at least, and even nicer is that it removes code and data
structures because log->disk_bits disappears.
                                                                                
From: Patrick Caulfield <pcaulfie>

Comment 2 Alasdair Kergon 2005-11-14 18:38:10 UTC
dm-log-bitset-fix-endian.patch

Comment 8 Red Hat Bugzilla 2006-03-07 20:44:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0132.html



Note You need to log in before you can comment on or make changes to this bug.