[OpenAFS-devel] Android studio hangs openafs

markus.suvanto@gmail.com markus.suvanto@gmail.com
Sun, 29 Aug 2021 16:25:49 +0300


My user case is android development and
I like to keep my project files under /afs/mycell/...  but lately
some chages in android studio/openafs/kernel/gentoo??
has made this setup unusable. For example opening project file or 
saving changes can hang android studio over 60 seconds.
When android studio is hanging command "ls -la /afs" hangs also,
but "ls -la /afs/some/path" works.

It seems that android studio is doing something that hangs openafs client because
same user case using kafs seens to work OK, but kafs has it own
problems and some times kafs forces my Volumes offline and 
I have to manually salvage it, FileLog
...
Sun Aug 29 13:08:27 2021 FindClient: stillborn client 0x7f9b68015c60(f3ebf080); conn 0x7f9bb803d820 (host
192.168.11.201:7001) had client 0x7f9b680156b0(f3ebf080)
Sun Aug 29 13:08:27 2021 CallPreamble: Couldn't get client while handling request from host 192.168.11.201:7001 viceid
1001 fid 2303380852.62583.3204180, failing request
Sun Aug 29 13:08:27 2021 FindClient: stillborn client 0x7f9b68013b10(f3ebf088); conn 0x7f9bb803e0a0 (host
192.168.11.201:7001) had client 0x7f9b680138a0(f3ebf088)
Sun Aug 29 13:08:36 2021 Volume 2303380852 now offline, must be salvaged.
Sun Aug 29 13:08:36 2021 Scheduling salvage for volume 2303380852 on part /vicepc over SALVSYNC
Sun Aug 29 13:08:43 2021 Volume 2303380852 now offline, must be salvaged.
Sun Aug 29 13:08:43 2021 Scheduling salvage for volume 2303380852 on part /vicepc over SALVSYNC
Sun Aug 29 13:08:49 2021 VRequestSalvage: volume 2303380852 online salvaged too many times; forced offline.
Sun Aug 29 13:08:49 2021 Volume 2303380852 now offline, must be salvaged.
Sun Aug 29 13:10:51 2021 VRequestSalvage: volume 2303380852 online salvaged too many times; forced offline.
Sun Aug 29 13:10:51 2021 FSYNC_backgroundSalvage: unable to request salvage for volume 2303380852
Sun Aug 29 13:13:49 2021 VRequestSalvage: volume 2303380852 online salvaged too many times; forced offline.



Server: openafs 1.8.7 (gentoo)
Client: openafs-1.8.8, kernel-5.13.13 (gentoo)

-Markus