Page MenuHomeFreeBSD

Partially revert r248770.
ClosedPublic

Authored by dchagin on Apr 1 2021, 7:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 22, 4:52 AM
Unknown Object (File)
Thu, Jul 2, 1:15 PM
Unknown Object (File)
Wed, Jun 24, 5:42 PM
Unknown Object (File)
Jun 23 2026, 2:05 PM
Unknown Object (File)
Jun 22 2026, 7:34 PM
Unknown Object (File)
Jun 21 2026, 1:17 AM
Unknown Object (File)
May 11 2026, 9:55 PM
Unknown Object (File)
May 11 2026, 9:55 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
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.