Bug 661300 - xfstest 222: filesystem on /dev/loop0 is inconsistent
Summary: xfstest 222: filesystem on /dev/loop0 is inconsistent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.6
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Dave Chinner
QA Contact: Petr Beňas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-08 13:41 UTC by Petr Beňas
Modified: 2015-01-04 23:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 10:24:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1065 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.7 kernel security and bug fix update 2011-07-21 09:21:37 UTC

Description Petr Beňas 2010-12-08 13:41:04 UTC
Description of problem:
Xfstest 222 and all following failed on:
_check_xfs_filesystem: filesystem on /dev/loop0 is inconsistent

Version-Release number of selected component (if applicable):
kernel 2.6.18-235.el5

How reproducible:
unknown

Steps to Reproduce:
1. Run xfstests test suite. Probably start from 222 or run just 222 is enought.
  
Actual results:
_check_xfs_filesystem: filesystem on /dev/loop0 is inconsistent (c) (see 222.full)

Expected results:
All tests passed.

Additional info:
https://beaker.engineering.redhat.com/recipes/74209

Comment 1 Dave Chinner 2010-12-09 00:09:29 UTC
Will probably require backprting these commits from upstream to fix:

1817176a86352f65210139d4c794ad2d19fc6b63 xfs: prevent swapext from operating on write-only files
dd77ef924c835c9813c3f4dc7e9c72e9cd88d238 xfs: more swap extent fixes for dynamic fork offsets
6bded0f383fd7971b76ad6c194dda7d5b814b871 xfs: clean up inconsistent variable naming in xfs_swap_extent
3a85cd96d3ab3c6dcf88b81fc6eaddb84e565a43 xfs: add tracing to xfs_swap_extents
e09f98606dcc156de1146c209d45a0d6d5f51c3f xfs: xfs_swap_extents needs to handle dynamic fork offsets

Given the fact this test (in conjunction with 227) was designed to expose a filesystem corruption bug cause by xfs_fsr, we probably should be fixing it
in the RHEL5 series.

Comment 2 Ric Wheeler 2010-12-09 01:00:27 UTC
Dave, sounds like it is worth starting the backport to rhel5.

thanks

Comment 3 Dave Chinner 2010-12-17 06:16:51 UTC
Fixes posted on 16/12/10.

Comment 4 RHEL Program Management 2011-02-01 16:53:30 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 11 Jarod Wilson 2011-02-21 20:57:26 UTC
in kernel-2.6.18-245.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 18 errata-xmlrpc 2011-07-21 10:24:19 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 therefore 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-2011-1065.html


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