Skip to content

Commit

Permalink
qubes-block: disable direct I/O for now
Browse files Browse the repository at this point in the history
Pending diagnosis of QubesOS/qubes-issues#9488

(cherry picked from commit 8cdd664)
  • Loading branch information
rustybird authored and marmarek committed Nov 6, 2024
1 parent e6a80c7 commit e0c25b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion not-script/not-script.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
};

Expand Down

0 comments on commit e0c25b6

Please sign in to comment.