[OpenAFS] openafs 1.6.0pre4 and OSX 10.6.7 and 64bit kernel (NOT
really) FIXED ;(
Derrick Brashear
shadow@gmail.com
Tue, 29 Mar 2011 15:25:22 -0400
On Tue, Mar 29, 2011 at 3:22 PM, Andy Cobaugh <phalenor@gmail.com> wrote:
> On 2011-03-29 at 20:10, Chris Jones ( christopher.rob.jones@cern.ch ) sai=
d:
>>
>> Hi,
>>
>>> Chris-Jones-Macbook-Pro /Library/OpenAFS/Tools/bin > ./cmdebug localhos=
t
>>> Lock afs_discon_lock status: (none_waiting, 1 read_locks(pid:1133))
>>> ** Cache entry @ 0xd35161a0 for 0.1.16777996.1 [dynroot]
>>> =A0 locks: (none_waiting, write_locked(pid:1133 at:599))
>>> =A0 =A0 =A0 =A0 =A0 =A0 18 bytes =A0DV =A0 =A0 =A0 =A0 =A0 =A01 =A0refc=
nt =A0 =A0 0
>>> =A0 callback 00000000 =A0 =A0expires 0
>>> =A0 0 opens =A0 =A0 =A00 writers
>>> =A0 mount point
>>> =A0 states (0x5), stat'd, read-only
>>
>> and a slightly different one later on (whilst waiting to just cd into a
>> directory under /afs/cern.ch)
>>
>> Chris-Jones-Macbook-Pro /Library/OpenAFS/Tools/bin > ./cmdebug localhost
>> Lock afs_discon_lock status: (none_waiting, 1 read_locks(pid:1156))
>> ** Cache entry @ 0xd35184b0 for 382.537112396.26.32 [cern.ch]
>> =A0 locks: (none_waiting, write_locked(pid:1156 at:66))
>> =A0 =A0 =A0 =A0 =A0 =A0 =A07 bytes =A0DV =A0 =A0 =A0 =A0 =A0 =A01 =A0ref=
cnt =A0 =A0 0
>> =A0 callback 263a6708 =A0 =A0expires 1301440202
>> =A0 0 opens =A0 =A0 =A00 writers
>> =A0 normal file
>> =A0 states (0x1), stat'd
>
> fwiw, we started seeing this on Leopard as early as 1.5.77. I just now sa=
w
> this on 1.6.0pre4 on Snow Leopard with the 32-bit kernel. It's also happe=
ned
> with 1.6.0pre2 on Leopard.
>
> Sometimes it hangs for only a few minutes. Other times, it will hang for
> hours until someone reboots.
ok; this is the bulkstat issue which was intended to be addressed by
one of the patches in 1.6.0pre4, but..
> cmdebug always reports 1 or more read locks on afs_discon_lock, with a
> random pid.
which has nothing to do with
1) any hang
or
2) most of the output there.
it precludes a fs discon while a network operation is in progress.
please don't conflate issues.
--=20
Derrick