Bug 1014312

Summary: [xfs/xfstests 298] Inline symlink is not removed from inode
Product: Red Hat Enterprise Linux 6 Reporter: Boris Ranto <branto>
Component: kernelAssignee: Eric Sandeen <esandeen>
Status: CLOSED WONTFIX QA Contact: Filesystem QE <fs-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: dchinner, eguan, esandeen, rwheeler
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1014308 Environment:
Last Closed: 2014-06-17 03:16:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1014308    
Bug Blocks:    

Description Boris Ranto 2013-10-01 17:20:02 UTC
+++ This bug was initially created as a clone of Bug #1014308 +++

Description of problem:
Copied from the description of the test case:
inline symlinks are removed from the inode when an extended attributes forces it into being remote symlink. Warning: this test will ASSERT on unpatched DEBUG XFS.

Version-Release number of selected component (if applicable):
kernel-3.10.0-23.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run the xfstests test case xfs/298 for xfs fs
2. Check the output

Actual results:
For symlink size 128, the core.nextents is reported to be 1.

Expected results:
The core.nextents is 0.

Additional info:
This seems to have been fixed upstream by [v4] xfs: fix the symbolic link assert in xfs_ifree:
http://patchwork.xfs.org/patch/5614/

Comment 1 Boris Ranto 2013-10-01 17:32:35 UTC
This is also reproducible in RHEL 6 (kernel-2.6.32-419.el6).

Comment 2 RHEL Program Management 2013-10-14 01:50:11 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Eryu Guan 2014-04-17 04:23:33 UTC
*** Bug 1088730 has been marked as a duplicate of this bug. ***

Comment 4 Eric Sandeen 2014-04-24 20:47:22 UTC
725eb1e xfs: fix the symbolic link assert in xfs_ifree

Comment 5 Eric Sandeen 2014-04-24 21:03:09 UTC
hm, possibly depending on

commit b373e98daa70d7ddb10f53f81e711c4d17651795
Author: Christoph Hellwig <hch>
Date:   Wed Jul 4 11:13:29 2012 -0400

    xfs: clean up xfs_inactive

Will have to decide how important this one really is.

Comment 6 Eric Sandeen 2014-06-17 03:16:35 UTC
I'm going to close this as WONTFIX for now; it's not a trivial upstream patch application and the bug, as far as we know, is only seen in the xfstest specifically designed to trigger it.

If we get a customer report of the problem, we can re-open & re-examine this bug.