xfs
[Top] [All Lists]

[REVIEW] Add lazy-counter conversion to xfs_repair

To: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: [REVIEW] Add lazy-counter conversion to xfs_repair
From: "Barry Naujok" <bnaujok@xxxxxxx>
Date: Fri, 22 Feb 2008 17:45:54 +1100
Organization: SGI
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Opera Mail/9.24 (Win32)
In response to the thread "Differences in mkfs.xfs and xfs_info output.", xfs_repair has been improved to allow version changes/conversion of filesystems.

So, this patch introduces the first in an ongoing series of in-place filesystem version changes with xfs_repair and the "-c" (convert) option.

To turn on/off the lazy-superblock feature, run the following xfs_repair commmand on your filesystem:

# xfs_repair -c lazycount=[0|1] <device>

It is advised to run Dave Chinner's "detect and correct bad features2 superblock field" patch with this patch as lazy-counters are stored in the features2 field in the superblock.


The next round of case-insensitive support patches will allow xfs_repair to convert filesystems to different CI versions (ie. -c name=[raw|ascii|unicode]).

Barry.

Attachment: convert.patch
Description: Text Data

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