Page MenuHomeFreeBSD

Partially revert r248770.
ClosedPublic

Authored by dchagin on Apr 1 2021, 7:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 30, 1:52 AM
Unknown Object (File)
Thu, Mar 28, 8:31 AM
Unknown Object (File)
Dec 26 2023, 3:55 AM
Unknown Object (File)
Dec 20 2023, 3:08 AM
Unknown Object (File)
Dec 12 2023, 4:21 PM
Unknown Object (File)
Nov 29 2023, 10:13 AM
Unknown Object (File)
Nov 3 2023, 10:18 AM
Unknown Object (File)
Oct 4 2023, 6:07 PM
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.