Commit c5b2fa9
block: rnull: implement dummy timeout callback
Implement the new Operations::timeout callback for rnull and return
TimeoutReturn::ResetTimer.
Using ResetTimer keeps the behavior close to the existing blk-mq
default timeout handling while proving that the Rust timeout
abstraction wires cleanly into a driver.
Signed-off-by: Wenzhao Liao <[email protected]>1 parent 57e8991 commit c5b2fa9
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
0 commit comments