dm-loki
dm-loki is a research device-mapper target that selects block-write faults through access sequences and records block I/O for failure analysis.
The TOS 2021 study used dm-loki for filesystem-level faults and CuttleFS for application-level experiments. blockviz adds filesystem meaning to recorded block traffic; a before/after disk image cannot reveal every intermediate overwrite. The filesystem study used Linux 5.2.11. [1]
At the pinned artifact revision, the message handler passes the sequence directly to twobitseq_create. Its alphabet is uppercase A, X, W and F; the paper's lowercase notation is not accepted input. A/W allow a selected access and X/F fail it in the reviewed mapping code. [2] [3] [4]
The parser advances through every symbol and repeats the final symbol. Thus WFW describes an allow/fail/allow tail, while WFX continues failing after the second access. A final F repeats too: the constant name FAIL_ONE_WRITE does not override the repeat-last rule. A or X inside a sequence is not an absorbing state. [3] [4]
Hesela executed the unchanged userspace parser for all 5460 nonempty AXWF strings of lengths 1-6, plus 11 longer packing-boundary cases. Each was read five positions beyond its end. Lowercase wwxxw returned -EINVAL; empty input returned -EIO. The downloadable receipt and harness preserve the exact source hashes. These are parser results, not filesystem failure measurements. [5]
The reviewed mapper consumes a sequence symbol from a matching fault-range item before possible partial-bio splitting. A sequence position is not an application write or fsync count. The userspace replay does not validate splitting, concurrent requests, error propagation or current-kernel compatibility. [4]
Relations
Citations
- Rebello et al. Can Applications Recover from fsync Failures? ACM TOS 17(2), article 12 (2021), DOI 10.1145/3450338; sections 3.2 and 4.1.
- dm-loki b16bc927: _add_fault_item passes the sequence without case conversion
- dm-loki b16bc927: twobitseq validation, cursor and repeat-last implementation
- dm-loki b16bc927: loki_map sequence consumption and partial-bio branches
- Hesela: unchanged dm-loki userspace parser replay, results and limits
Sources & caveats
- Primary-source review of selected TOS 2021 methodology sections and artifact b16bc9272d007f8e79fa1017e5e6a4a397ba5f60; the artifact is not asserted to be the exact journal experiment revision.
- Executed only the TBS_TEST_MODE_ON userspace parser and its supplied unit test. No module, device-mapper target, filesystem mount or storage fault injection was run.
- Upstream repository carries GPL version 3. No upstream code, binaries or paper figures are redistributed here; the harness verifies externally obtained source.