Re: [RFC PATCH 1/8] rust: kernel: add basic abstractions for device-mapper
From: Qingsong Chen
Date: Sun Jun 25 2023 - 23:26:31 EST
On 6/25/23 8:25 PM, Greg KH wrote:
Shouldn't this be all different commits, and different files? A bio
shouldn't be defined in the device_mapper.rs file, as that would prevent
anyone else from accessing it.
Yes, you're right. Since we noticed that some block layer patches[1]
are under review, we don't put much effort into that. Actually, we
don't want to include all the `bio` implementation in this patchset,
so it just some dummy codes.
If necessary, a seperate commit could be splited, including things
that do not belong to the device mapper.
[1]:
https://lore.kernel.org/rust-for-linux/20230503090708.2524310-5-nmi@xxxxxxxxxxxx/
Thanks,
Qingsong Chen