Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 964216 - xfs_repair: handle fragmented multiblock dir2 directories
xfs_repair: handle fragmented multiblock dir2 directories
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xfsprogs (Show other bugs)
6.4
Unspecified Unspecified
high Severity unspecified
: rc
: ---
Assigned To: Eric Sandeen
Boris Ranto
: ZStream
Depends On:
Blocks: 976217
  Show dependency treegraph
 
Reported: 2013-05-17 10:51 EDT by Eric Sandeen
Modified: 2013-11-21 16:20 EST (History)
9 users (show)

See Also:
Fixed In Version: xfsprogs-3.1.1-11.el6
Doc Type: Bug Fix
Doc Text:
Previously, xfs_repair was unable to properly handle fragmented multiblock version 2 directories (Multiblock dir2 is only enabled with the "-n size=" mkfs.xfs option, where the size is greater than the file system block size). With this update, xfs_repair can operate on fragmented dir2 directories without errors.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-21 16:20:19 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1657 normal SHIPPED_LIVE xfsprogs bug fix update 2013-11-20 16:53:13 EST

  None (edit)
Description Eric Sandeen 2013-05-17 10:51:47 EDT
RHS is recommending "-n 8k" for larger dir block size at mkfs time.

However, there are 2 bugs in xfs_repair if those 2 blocks aren't allocated contiguously:

9fe1cc862159b50651baa68a6b60ae0819d4f871 xfs_repair: handle fragmented multiblock dir2 in process_leaf_node_dir2()
b220548bf2e51f4a573b19b4a8b4b15856bd4a06 xfs_repair: Fix fragmented multiblock dir2 handling in blkmap_getn()

We need to get these backported to RHEL6's xfsprogs to handle this case.

This is tested in xfstests:

2a4ed91a018054c2ae187f3cd4ee26141f56234f xfstest 291: userspace vs. fragmented multiblock dir2
Comment 2 Ben England 2013-05-27 09:23:06 EDT
thx, added perf dept to cc
Comment 8 errata-xmlrpc 2013-11-21 16:20:19 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1657.html

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