Skip to content

Commit

Permalink
Comment on scatter gather. #24
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly committed Jan 17, 2024
1 parent 9f42840 commit 463c91a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions design.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,16 @@ pub trait ReadThenWrite {
pub fn read_map_write(TODO) -> TODO;
}

// TODO: This isn't finished (by any means!) See issue #24.
enum ReadThenWriteMapping {
Scatter(
PathBuf, ByteRange, map_input_func, // Input
Vec<(PathBuf, ByteRange)>, // Output
),
Gather(),
OneToOne(),
}

/// Linux io_uring for locally-attached disks.
pub struct IoUringLocal {
/// Map from the full file name to the file size in bytes.
Expand Down

0 comments on commit 463c91a

Please sign in to comment.