Page MenuHomeFreeBSD

Partially revert r248770.
ClosedPublic

Authored by dchagin on Apr 1 2021, 7:37 PM.
Tags
None
Referenced Files
F133293384: D29539.id86705.diff
Fri, Oct 24, 5:06 PM
Unknown Object (File)
Sat, Oct 18, 6:09 AM
Unknown Object (File)
Sat, Oct 18, 3:00 AM
Unknown Object (File)
Fri, Oct 17, 12:10 AM
Unknown Object (File)
Thu, Oct 16, 4:39 AM
Unknown Object (File)
Thu, Oct 16, 1:55 AM
Unknown Object (File)
Thu, Oct 16, 1:35 AM
Unknown Object (File)
Thu, Oct 16, 1:11 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.