You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core): run the scan walk at the configured io_priority (#173)
Adopts #170's priority mechanism in #169's parallel scanner - the
follow-up called out in #170's PR body ('the broad user-visible win
lands when the scanner's dedicated worker threads call
apply_to_current_thread').
- The walk's pooled spawn_blocking coordinator takes an RAII
begin_background_work guard, so the matcher build's ignore-file
collection I/O is shaped too and the pooled thread is restored on scan
end.
- Each transient walk worker thread (stat + include check + BLAKE3
hashing for deep-verify/coarse-FS) applies the priority once on its
first visit; workers are joined at walk end, so a one-shot apply with no
restore is correct.
- New scan_with_priority entry point;
scan/scan_with_latency/scan_with_progress keep their exact signatures
(Normal), so no test churn. The orchestrator passes its live
PriorityCell value - settings changes apply from the next scan.
A sibling PR (in flight) extends shaping to the large-file upload
pipeline.
Gates: cargo fmt, clippy -p driven-core -D warnings clean, cargo test -p
driven-core 393+ green.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01JLB3E2Jm7knNJd37fVpH8X
0 commit comments