From 8cdd664fe90503606009046443737c84c95365c6 Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Tue, 8 Oct 2024 12:55:54 +0000 Subject: [PATCH] qubes-block: disable direct I/O for now Pending diagnosis of QubesOS/qubes-issues#9488 --- not-script/not-script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/not-script/not-script.c b/not-script/not-script.c index a7e3206..22b8195 100644 --- a/not-script/not-script.c +++ b/not-script/not-script.c @@ -71,7 +71,7 @@ static int setup_loop(int ctrl_fd, uint32_t fd, bool writable, bool autoclear) { .fd = fd, .block_size = 512, /* FIXME! */ .info = { - .lo_flags = LO_FLAGS_DIRECT_IO | (autoclear ? LO_FLAGS_AUTOCLEAR : 0) | (writable ? 0 : LO_FLAGS_READ_ONLY), + .lo_flags = (autoclear ? LO_FLAGS_AUTOCLEAR : 0) | (writable ? 0 : LO_FLAGS_READ_ONLY), }, };