Re: xfs_iunlink_remove: xfs_inotobp() returned error 22 -- debugging

符永涛
2013-04-19T17:17:22Z

[-- Attachment #1.1: Type: text/plain, Size: 823 bytes --]

Dear Eric,
I noticed some functions call the xfs_lock_two_inodes(dp, ip,
XFS_ILOCK_EXCL); twince but not in xfs_remove.

2013/4/20 符永涛 <yongtaofu@gmail.com>

> There it is, I use latest 279.19.1 and only apply xfs trace path.
>
>
> 2013/4/20 Eric Sandeen <sandeen@sandeen.net>
>
>> On 4/19/13 10:00 AM, 符永涛 wrote:
>> > Dear Eric,
>> >
>> > I checked rh srpm
>> https://content-web.rhn.redhat.com/rhn/public/NULL/kernel/2.6.32-279.19.1.el6/SRPMS/kernel-2.6.32-279.19.1.el6.src.rpm?__gda__=1366390847_8550b8568c50ea46b3180266b476353d&ext=.rpm
>> > And the code is same, as following:
>> >
>> > __rwsem_do_wake(struct rw_semaphore *sem, int wakewrite)
>> > {
>>
>> need to look in lib/rwsem.c not lib/rwsem-spinlock.c
>>
>> Thanks,
>> -Eric
>>
>>
>
>
> --
> 符永涛
>

--
符永涛

[-- Attachment #1.2: Type: text/html, Size: 1816 bytes --]