~/talk

Advanced block storage test devices

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [linux-and-operating-systems]
links:none on file
slides:none on file

Linux already has scsi_debug, dm-flakey and dm-delay but custom device-mapper targets are built to reproduce tricky failures. Examples include a forgetful cache that honors flush then drops writes, a tracer that records per-I/O data hashes, and a bad-block target that lets tests add/remove arbitrary failing sectors via messages, persists across reboots, logs enable/disable times, and simulates remap-on-write (removes a block on write). Upstream patch lands after Jan 7 submission and helped trigger an XFS fix.

AI-written summary · about

  1. 0:00Introduction
  2. 0:27What is a block storage device
  3. 3:11Test devices
  4. 5:00Tracer device
  5. 5:49XFS bug
  6. 6:33Existing tools
  7. 8:12Proof of concept
  8. 8:37Message interface
  9. 9:30Kernel log
  10. 10:16Failed reads
  11. 10:44Read for writes
  12. 12:21Release to upstream
  13. 12:55Remaining work
  14. 13:47Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.