Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64398

Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs)

From Anton Ivanov <anton.ivanov@kot-begemot.co.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs)
Date 2019-07-08 13:40 +0200
Message-ID <yhA9X-63s-11@gated-at.bofh.it> (permalink)
References <ygYem-6V-1@gated-at.bofh.it> <yhA9X-63s-9@gated-at.bofh.it> <yhA9X-63s-7@gated-at.bofh.it> <ygYem-6V-1@gated-at.bofh.it> <yhA9X-63s-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 08/07/2019 11:59, Anton Ivanov wrote:
> There are clearly some issues with nfs across an autofs mount (maybe 
> for hard mounts as well), so this may warrant an upgrade.
>
> Example test.  Run make -j 12 ; make clean in a loop on an nfs mounted 
> openwrt tree until it fails (usually 2-3 iterations).
>
> State on the client
>
> ls -laF 
> /var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
>
> total 8
> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
>
> State as seen on the server (mounted via nfs across localhost):
>
> ls -laF 
> /var/autofs/local/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
> total 12
> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
> -rw-r--r-- 1 anivanov anivanov   32 Jul  8 11:40 ipcbuf.h
>
> State on the filesystem:
>
> ls -laF 
> /exports/work/src/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/linux-4.14.125/arch/mips/include/generated/uapi/asm
> total 12
> drwxr-xr-x 2 anivanov anivanov 4096 Jul  8 11:40 ./
> drwxr-xr-x 3 anivanov anivanov 4096 Jul  8 11:40 ../
> -rw-r--r-- 1 anivanov anivanov   32 Jul  8 11:40 ipcbuf.h
>
> So actually this looks like the caching on NFS is royally fubar

Dropping caches restores things to normal, but that is not a solution. 
It is a diagnosis.

-- 
Anton R. Ivanov
https://www.kot-begemot.co.uk/

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs) Anton Ivanov <anton.ivanov@kot-begemot.co.uk> - 2019-07-08 13:40 +0200
  Bug#931500: Acknowledgement (linux-image-4.19.0-5-amd64: kernel deadlock with autofs) Anton Ivanov <anton.ivanov@kot-begemot.co.uk> - 2019-07-08 14:40 +0200

csiph-web