mirror of
https://github.com/freemkv/libfreemkv.git
synced 2026-10-07 18:13:10 +00:00
halt: Stop-aware waits across channels, drive, io, flush and the macOS shim
Waits are halt-aware on a stall timer; every CDB carries the op token; prefetchers and pipeline joins honour Stop; flush is durable with measured progress; the macOS shim open is cancellable. Also: CPI is cleared on every decrypted unit, FMTS phase verification, the HD DVD declared CPS count, AES work hoisted out of AACS hot paths, and the last production unsafe removed.
This commit is contained in:
@@ -96,7 +96,7 @@ jobs:
|
||||
- run: cargo test --tests
|
||||
working-directory: libfreemkv
|
||||
|
||||
# The memory orderings in `scsi::fd_handoff` compile to the same instructions
|
||||
# The memory orderings in `scsi::fd_handoff` (and `halt`) compile to the same instructions
|
||||
# on x86_64, so the WRONG ones pass every run; loom enumerates the executions
|
||||
# the C++20 model permits and is the only regression coverage that code has.
|
||||
# Its own job because RUSTFLAGS is part of the rust-cache key. Takes the sibling
|
||||
@@ -123,6 +123,9 @@ jobs:
|
||||
workspaces: libfreemkv
|
||||
- run: cargo test --lib --no-default-features --features scsi fd_handoff
|
||||
working-directory: libfreemkv
|
||||
# LT3: `Halt`'s cancel Release / observe Acquire pair (stop design §2.1, SS-23).
|
||||
- run: cargo test --lib --no-default-features --features scsi loom_halt
|
||||
working-directory: libfreemkv
|
||||
# `lint` runs clippy without --cfg loom, so this is the only place the
|
||||
# model code is linted at all.
|
||||
- run: cargo clippy --lib --no-default-features --features scsi --profile test -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user