Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zpool import skips wedges due to a race condition



On Wed, Sep 08, 2021 at 08:51:15AM +0100, Patrick Welche wrote:
> I see something similar in another context: when I shutdown, shutdown
> can stall on a system with dkX on cgdN, with
> 
> detaching dkX
> detaching cgdN
> detaching dkX    (same X)
> (hang)
> 
> If the dice are rolled correctly, and cgdN gets the detach before dkX,
> it shuts down properly...

No, this is something different. The kernel well knows all the dependencies.
This is a plain bug somewhere(tm).

Martin


Home | Main Index | Thread Index | Old Index