diff options
author | 2025-01-09 14:49:11 +0100 | |
---|---|---|
committer | 2025-01-17 22:05:39 +0100 | |
commit | cd6521d03f6a722f18fc027f0d289c39d164dc4f (patch) | |
tree | dc8b5e72e76d6b23f383c969e703ec7c33080efd /scripts/generate_rust_analyzer.py | |
parent | dm: remove useless test in alloc_multiple_bios (diff) | |
download | wireguard-linux-cd6521d03f6a722f18fc027f0d289c39d164dc4f.tar.xz wireguard-linux-cd6521d03f6a722f18fc027f0d289c39d164dc4f.zip |
dm: disable REQ_NOWAIT for flushes
REQ_NOWAIT for flushes cannot be easily supported by device mapper
because it may allocate multiple bios and its impossible to undo if one
of those allocations wants to wait. So, this patch disables REQ_NOWAIT
flushes in device mapper and we always return EAGAIN.
Previously, the code accepted REQ_NOWAIT flushes, but the non-blocking
execution was not guaranteed.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions