Skip to main content

copy_batch

Function copy_batch 

Source
pub fn copy_batch(jobs: &[Job<'_>]) -> Vec<Result<u64>> 
Expand description

Copy every job, returning a per-job result (bytes written, or the error that should trigger a portable-path fallback for that single file).

Small files (≤MAX_FILE) use the existing read/write batching path. Medium files (≤MAX_LARGE_FILE) use linked splice SQEs when the kernel supports it. Larger files are rejected so the caller falls back.