[Top] [All Lists]

Re: [PATCH 0/1] xfs: xfs_inactive fails to cleanup symlinks with attribu

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH 0/1] xfs: xfs_inactive fails to cleanup symlinks with attributes
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Thu, 06 Jun 2013 14:17:15 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130606161032.753011157@xxxxxxx>
References: <20130606161032.753011157@xxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 06/06/13 11:10, Mark Tinguely wrote:
Found this bug testing extended attributes.

# make a big symbolic link that is in the inode core and mostly fills it.
# CRC enabled filesystem will use a 68 byte smaller link in the test.

ln -s 

# the extended attribute will bump the symbolic link to a remote extent
# I think only one of these attribute is needed, but they are so fun...
attr  -Rs 1234567890ad a<  /dev/null
attr  -Rs 1234567890ae a<  /dev/null
attr  -Rs 1234567890af a<  /dev/null

oops. the following steps are also needed - I took them out because I
thought they were unecessary:

# remove the attributes:
attr  -Rr 1234567890ad a
attr  -Rr 1234567890ae a
attr  -Rr 1234567890af a

now we will assert

# the following remove will assert a debug kernel:
#  XFS: Assertion failed: ip->i_d.di_nextents == 0, file: fs/xfs/xfs_inode.c, 
line: 2036

rm a

xfs mailing list

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