#[repr(u8)]pub enum Side {
Source = 0,
Destination = 1,
}Expand description
Which side of an operation a probe is on.
Tools like rcp and rcmp touch two filesystems with different
service-time profiles; we run an independent controller per side so a
saturated source doesn’t drag the destination’s cwnd down or vice
versa. Single-path tools (rrm, filegen) still partition reads
(Source) from writes/mutations (Destination) since those have
different latency profiles even on the same filesystem.
Variants§
Source = 0
Reads of the source filesystem — directory walks, source-side stats.
Destination = 1
Writes/mutations of the destination filesystem — create_dir,
hard_link, unlink, open(O_CREAT), etc.
Implementations§
Trait Implementations§
impl Copy for Side
impl Eq for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl Freeze for Side
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnsafeUnpin for Side
impl UnwindSafe for Side
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more