ref: 921d96ea15e2f544ac24ee2c715161ac406f828c
parent: 390c71f0c79b2b8b94997cd9ae03037272075f8b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed May 24 14:03:41 EDT 2023
sdnvme: use delay() instead of tsleep() in nvmedisable() SDifc.disable() can be called from: reboot() -> chandevshutdown() -> sdshutdown() ... which has interrupts disabled (and we should not re-enable them). Also dont waste 100ms in sleeping as a usual drive can complete its controller disable and shutdown notification in just a few ms (< 4ms).