Page MenuHomeFreeBSD

Partially revert r248770.
ClosedPublic

Authored by dchagin on Apr 1 2021, 7:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 7:24 AM
Unknown Object (File)
Oct 14 2024, 5:16 PM
Unknown Object (File)
Oct 5 2024, 4:31 PM
Unknown Object (File)
Oct 3 2024, 3:11 PM
Unknown Object (File)
Oct 1 2024, 5:03 PM
Unknown Object (File)
Sep 29 2024, 7:18 AM
Unknown Object (File)
Sep 28 2024, 9:38 AM
Unknown Object (File)
Sep 28 2024, 1:22 AM
Subscribers

Details

Summary

nvme_ns_bio_process() is on the path where sleep is prohibited as
g_io_shedule_down() calls THREAD_NO_SLEEPNG() before geom->start().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I've never seen this lead to deadlock, but I'm also only ever using nvme with direct dispatch...

This revision is now accepted and ready to land.Apr 1 2021, 8:38 PM
In D29539#662228, @imp wrote:

I've never seen this lead to deadlock, but I'm also only ever using nvme with direct dispatch...

10x, seems that I'm first who use nvme under geom o_O

This revision was automatically updated to reflect the committed changes.