lkml.org 
[lkml]   [2024]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 4/5] rust: block: add rnull, Rust null_blk implementation
On 3/13/24 12:05, Andreas Hindborg wrote:
> +module! {
> + type: NullBlkModule,
> + name: "rnull_mod",
> + author: "Andreas Hindborg",
> + license: "GPL v2",
> + params: {
> + param_memory_backed: bool {
> + default: true,
> + permissions: 0,
> + description: "Use memory backing",
> + },
> + // Problems with pin_init when `irq_mode`

Can you elaborate?

--
Cheers,
Benno

> + param_irq_mode: u8 {
> + default: 0,
> + permissions: 0,
> + description: "IRQ Mode (0: None, 1: Soft, 2: Timer)",
> + },
> + param_capacity_mib: u64 {
> + default: 4096,
> + permissions: 0,
> + description: "Device capacity in MiB",
> + },
> + param_completion_time_nsec: u64 {
> + default: 1_000_000,
> + permissions: 0,
> + description: "Completion time in nano seconds for timer mode",
> + },
> + param_block_size: u16 {
> + default: 4096,
> + permissions: 0,
> + description: "Block size in bytes",
> + },
> + },
> +}

\
 
 \ /
  Last update: 2024-05-27 16:00    [W:0.308 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site