Red Hat Bugzilla – Bug 173158
kernel dm-log: Make mirror log arch-independent
Last modified: 2007-11-30 17:07:21 EST
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 <email@example.com>
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.