Gary Guo
b2b2ce8706
block: rnull: remove imports available via prelude
...
These imports are already in scope by importing `kernel::prelude::*` and
does not need to be imported separately.
Signed-off-by: Gary Guo <[email protected] >
Acked-by: Andreas Hindborg <[email protected] >
Signed-off-by: Jens Axboe <[email protected] >
2026-01-27 09:45:42 -07:00
Shankari Anand
ba13710ddd
rust: block: update ARef and AlwaysRefCounted imports from sync::aref
...
Update call sites in the block subsystem to import `ARef` and
`AlwaysRefCounted` from `sync::aref` instead of `types`.
This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.
Suggested-by: Benno Lossin <[email protected] >
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <[email protected] >
Signed-off-by: Jens Axboe <[email protected] >
2025-11-05 18:24:10 -07:00
Andreas Hindborg
34585dc649
rnull: add soft-irq completion support
...
rnull currently only supports direct completion. Add option for completing
requests across CPU nodes via soft IRQ or IPI.
Reviewed-by: Alice Ryhl <[email protected] >
Reviewed-by: Daniel Almeida <[email protected] >
Signed-off-by: Andreas Hindborg <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected] >
2025-09-02 05:23:56 -06:00
Andreas Hindborg
4ec052841a
rust: block: add remote completion to Request
...
Allow users of rust block device driver API to schedule completion of
requests via `blk_mq_complete_request_remote`.
Reviewed-by: Alice Ryhl <[email protected] >
Reviewed-by: Daniel Almeida <[email protected] >
Signed-off-by: Andreas Hindborg <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected] >
2025-09-02 05:23:56 -06:00
Andreas Hindborg
90d952fac8
rust: block: add GenDisk private data support
...
Allow users of the rust block device driver API to install private data in
the `GenDisk` structure.
Reviewed-by: Alice Ryhl <[email protected] >
Reviewed-by: Daniel Almeida <[email protected] >
Signed-off-by: Andreas Hindborg <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected] >
2025-09-02 05:23:56 -06:00
Andreas Hindborg
d969d504bc
rnull: enable configuration via configfs
...
Allow rust null block devices to be configured and instantiated via
`configfs`.
Reviewed-by: Daniel Almeida <[email protected] >
Reviewed-by: Alice Ryhl <[email protected] >
Signed-off-by: Andreas Hindborg <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected] >
2025-09-02 05:23:56 -06:00
Andreas Hindborg
edd8650691
rnull: move driver to separate directory
...
The rust null block driver is about to gain some additional modules. Rather
than pollute the current directory, move the driver to a subdirectory.
Reviewed-by: Alice Ryhl <[email protected] >
Reviewed-by: Daniel Almeida <[email protected] >
Signed-off-by: Andreas Hindborg <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected] >
2025-09-02 05:23:56 -06:00