[OpenAFS] afsdb feature locking up afs_ioctl?

Mike Polek mike@pictage.com
Mon, 09 May 2005 18:03:14 -0700


When the -afsdb flag is used for afsd, there appears to be
an extra process that gets started to loop in the
AfsdbLookupHandler function. (Process id 12269 below.)
It looks like this process is holding /proc/fs/openafs/afs_ioctl
open. Is this intended/necessary? Or an accidental side
effect of something? The reason it's important to me is that
I can't umount /proc while the process has the open file
descriptor, and I need to umount /proc in order to properly
get my system booted after a pivot_root.

I could get around it by creating a CellServDB file,
but the -afsdb feature is *sooooo* convenient... :-)

Fedora Core 3, 2.6.10-1.770_FC3 kernel, openafs 1.3.79

Thanks in advance.
Mike Polek
Pictage, Inc.

--------------------- process list ------------------------

root     12264  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_rxlistener]
root     12266  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_callback]
root     12268  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_rxevent]
root     12269  0.0  0.0  3428  600 pts/0    S    17:53   0:00 
/usr/sbin/afsd -afsdb -memcache -blocks 65536 -chunksize 16 -stat 2800 
-daemons 5 -volumes 128 -nosettime
root     12271  0.0  0.0     0    0 ?        S    17:53   0:00 [afsd]
root     12273  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_checkserver]
root     12275  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_background]
root     12277  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_background]
root     12279  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_background]
root     12281  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_background]
root     12283  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_background]
root     12285  0.0  0.0     0    0 ?        S    17:53   0:00 [afs_cachetrim]