[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230625121657.3631109-1-changxian.cqs@antgroup.com>
Date: Sun, 25 Jun 2023 20:16:49 +0800
From: "Qingsong Chen" <changxian.cqs@...group.com>
To: linux-kernel@...r.kernel.org
Cc: "田洪亮" <tate.thl@...group.com>,
"Qingsong Chen" <changxian.cqs@...group.com>,
"Miguel Ojeda" <ojeda@...nel.org>,
"Alex Gaynor" <alex.gaynor@...il.com>,
"Wedson Almeida Filho" <wedsonaf@...il.com>,
"Boqun Feng" <boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
"Björn Roy Baron" <bjorn3_gh@...tonmail.com>,
"Benno Lossin" <benno.lossin@...ton.me>,
<rust-for-linux@...r.kernel.org>
Subject: [RFC PATCH 0/8] Rust device mapper abstractions
Hello!
This is a version of device mapper abstractions. Based on
these, we also implement a linear target as a PoC.
Any suggestions are welcomed, thanks!
Additionally, there are some dummy codes used to wrap the block
layer structs, i.e., `bio` and `request`, which seems being
in the review process, so I just place it in the same file.
Qingsong Chen (8):
rust: kernel: add basic abstractions for device-mapper
rust: kernel: add request related TargetOperations
rust: kernel: add some hook TargetOperations
rust: kernel: add some info handler TargetOperations
rust: kernel: add underlying device related TargetOperations
rust: kernel: add DAX related TargetOperations
rust: kernel: prepare to implement dm target in Rust
samples: rust: add a device mapper linear target
rust/bindings/bindings_helper.h | 2 +
rust/helpers.c | 7 +
rust/kernel/device_mapper.rs | 1279 +++++++++++++++++++++++++++++++
rust/kernel/lib.rs | 1 +
samples/rust/Kconfig | 10 +
samples/rust/Makefile | 1 +
samples/rust/rust_dm_linear.rs | 257 +++++++
7 files changed, 1557 insertions(+)
create mode 100644 rust/kernel/device_mapper.rs
create mode 100644 samples/rust/rust_dm_linear.rs
--
2.40.1
Powered by blists - more mailing lists