You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust: block: mq: safely abstract the timeout callback
Add a typed TimeoutReturn enum for blk-mq timeout handlers and
extend the Operations trait with an optional timeout callback.
The new callback borrows Request instead of taking an ARef because
timeout is a synchronous notification from blk-mq and does not
transfer request ownership to the driver.
Wire the callback into OperationsVTable and keep drivers that do not
implement timeout on the existing timeout: None path.
Signed-off-by: Wenzhao Liao <[email protected]>
0 commit comments