Skip to main content

fast_copy_without_sync

Function fast_copy_without_sync 

Source
pub fn fast_copy_without_sync(
    src: &Path,
    dst: &Path,
) -> Result<(u64, FastCopyStrategy)>
Expand description

Copy an ephemeral backing without flushing the destination to stable storage.

Completed writes are visible to other processes, but are not crash-durable. Use only for reconstructible/local handoffs whose contract does not require persistence across host failure. This retains sparse-copy and reflink behavior and independent contents. Existing snapshot callers must continue using fast_copy_with_strategy.