Page MenuHomeFreeBSD

Partially revert r248770.
ClosedPublic

Authored by dchagin on Apr 1 2021, 7:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 25, 1:22 PM
Unknown Object (File)
Fri, Jul 18, 3:53 AM
Unknown Object (File)
Jul 3 2025, 8:50 AM
Unknown Object (File)
Jun 24 2025, 9:13 AM
Unknown Object (File)
Jun 17 2025, 6:02 AM
Unknown Object (File)
Jun 16 2025, 4:23 AM
Unknown Object (File)
Jun 16 2025, 2:04 AM
Unknown Object (File)
Jun 12 2025, 6:54 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38259
Build 35148: arc lint + arc unit

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.