[vserver] mnt_is_reachable() deadlock? [was: opteron server dies with vserver patch]

From: Pawel Sikora <pluto_at_pld-linux.org>
Date: Mon 24 Oct 2011 - 10:14:05 BST
Message-ID: <2429045.BSHx4357DR@pawels>

Hi,

i'm comming back with some news about cryptic vserver crash described few months ago at https://lkml.org/lkml/2011/5/23/398.
decrypted parts from the quite recent crash http://pluto.agmk.net/kernel/vs-crash-3.0.3-vs2.3.1-pre10/ have shown possible
vfs-related deadlock.

git reports some vfs/dcache_lock cleanup in the 2.6.38 kernel which exposes pivot_root() deadlock
http://www.spinics.net/lists/linux-fsdevel/msg43078.html fixed in upstream by commit 27cb1572e3e6bb1f8cf6bb3d74c914a87b131792.

it looks like the vserver's mnt_is_reachable() does the same bad locking scheme as original pivot_root()
and leads to deadlock on my opterons sooner (few minutes) or later (few hours).

for tests i've commented out mnt_is_reachable() usage and servers works pretty stable with full load again.
could you please investigate this issue?

BR,
Paweł.
Received on Mon Oct 24 10:14:21 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 24 Oct 2011 - 10:14:22 BST by hypermail 2.1.8