]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: remove cache=unsafe from TEST-64-UDEV-STORAGE
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Sun, 2 Mar 2025 14:52:08 +0000 (15:52 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Mar 2025 08:45:49 +0000 (09:45 +0100)
commit759fdb3a35f96906de471b2c6c2bc2864dc25564
tree79141cdeec600434f7976321bbee266fcf170e7e
parent241a0f6e0a4abecc8b0ef4cb76e0687895d97fb9
tests: remove cache=unsafe from TEST-64-UDEV-STORAGE

mkosi switch to the newer -blockdev qemu option in systemd/mkosi#3557 [1], but
cache=unsafe is an option only -drive supports.

Since the qemu-system_x86-64 man page [2] says this, cache.writeback=on is the
default and mkosi setting the other two options to the values corresponding to
unsafe, it should be fine to drop the cache=unsafe option.

┌─────────────┬─────────────────┬──────────────┬────────────────┐
│             │ cache.writeback │ cache.direct │ cache.no-flush │
├─────────────┼─────────────────┼──────────────┼────────────────┤
│writeback    │ on              │ off          │ off            │
├─────────────┼─────────────────┼──────────────┼────────────────┤
│none         │ on              │ on           │ off            │
├─────────────┼─────────────────┼──────────────┼────────────────┤
│writethrough │ off             │ off          │ off            │
├─────────────┼─────────────────┼──────────────┼────────────────┤
│directsync   │ off             │ on           │ off            │
├─────────────┼─────────────────┼──────────────┼────────────────┤
│unsafe       │ on              │ off          │ on             │
└─────────────┴─────────────────┴──────────────┴────────────────┘

[1] https://github.com/systemd/mkosi/pull/3557
[2] https://manpages.ubuntu.com/manpages/noble/en/man1/qemu-system-x86_64.1.html
test/TEST-64-UDEV-STORAGE/meson.build