~/talk

VM block error injection, a novel approach for testing Linux storage

Talkat linux.conf.au 2020 · 2020-01-13..01-17· [testing, linux-and-operating-systems]
slides:none on file

Proposal to inject real hardware-like block errors from the VM layer for reproducible storage testing, claiming virtualized device models can force read/write errors, timeouts and silent corruption even before boot. Modifications include a queue API socket interface to add/remove mediators, changes to SCSI and NVMe device models, and code to return accurate sense data with LBA for failing sectors. Work lands as patches and aims for block debug integration with QEMU; proof‑of‑concept code is on the GitHub repo linked in the description.

AI-written summary · about

  1. 0:00Start
  2. 12:09Importance Of Testing The Storage Stack
  3. 12:50Layering Of Linux Storage Stack
  4. 14:25Difficulties In Testing Storage devices are quite reliable
  5. 16:06Characteristics Of Desirable Error Testing
  6. 16:34Different Approaches In Creating Errors
  7. 17:44SCSI Debug
  8. 18:07Device Mapper Error Targets
  9. 19:48Network Block Device (NBD)
  10. 21:12SCSI Fault Injector
  11. 22:21Use An Actual SCSI Disk Drive Warning: Don't do this on a drive you value
  12. 24:07Create The Errors In A Virtual Machine (VM)
  13. 25:57Benefits Of Adding Error Injection In VM Continued
  14. 26:18Risks Of VM Error Injection What could possibly go wrong
  15. 28:29Other Potential Use Cases Some of These Already Exist
  16. 29:46Proof of Concept For QEMU
~/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.