-
- Downloads
rust: block: introduce `kernel::block::mq` module
Add initial abstractions for working with blk-mq. This patch is a maintained, refactored subset of code originally published by Wedson Almeida Filho <wedsonaf@gmail.com> [1]. [1] https://github.com/wedsonaf/linux/tree/f2cfd2fe0e2ca4e90994f96afe268bbd4382a891/rust/kernel/blk/mq.rs Cc: Wedson Almeida Filho <wedsonaf@gmail.com> Signed-off-by:Andreas Hindborg <a.hindborg@samsung.com> Reviewed-by:
Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20240611114551.228679-2-nmi@metaspace.dk Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- rust/bindings/bindings_helper.h 3 additions, 0 deletionsrust/bindings/bindings_helper.h
- rust/helpers.c 16 additions, 0 deletionsrust/helpers.c
- rust/kernel/block.rs 5 additions, 0 deletionsrust/kernel/block.rs
- rust/kernel/block/mq.rs 98 additions, 0 deletionsrust/kernel/block/mq.rs
- rust/kernel/block/mq/gen_disk.rs 215 additions, 0 deletionsrust/kernel/block/mq/gen_disk.rs
- rust/kernel/block/mq/operations.rs 245 additions, 0 deletionsrust/kernel/block/mq/operations.rs
- rust/kernel/block/mq/raw_writer.rs 55 additions, 0 deletionsrust/kernel/block/mq/raw_writer.rs
- rust/kernel/block/mq/request.rs 253 additions, 0 deletionsrust/kernel/block/mq/request.rs
- rust/kernel/block/mq/tag_set.rs 86 additions, 0 deletionsrust/kernel/block/mq/tag_set.rs
- rust/kernel/error.rs 6 additions, 0 deletionsrust/kernel/error.rs
- rust/kernel/lib.rs 2 additions, 0 deletionsrust/kernel/lib.rs
Loading