summaryrefslogtreecommitdiffstats
path: root/nbd
diff options
context:
space:
mode:
authorEric Blake2021-12-04 00:15:28 +0100
committerEric Blake2022-03-08 02:28:00 +0100
commit395aecd037dc35d110b8e1e8cc7d20c1082894b5 (patch)
tree46c7a1e02992f546eda06bbd950ddfc1ca217cd0 /nbd
parentqemu-io: Utilize 64-bit status during map (diff)
downloadqemu-395aecd037dc35d110b8e1e8cc7d20c1082894b5.tar.gz
qemu-395aecd037dc35d110b8e1e8cc7d20c1082894b5.tar.xz
qemu-395aecd037dc35d110b8e1e8cc7d20c1082894b5.zip
qemu-io: Allow larger write zeroes under no fallback
When writing zeroes can fall back to a slow write, permitting an overly large request can become an amplification denial of service attack in triggering a large amount of work from a small request. But the whole point of the no fallback flag is to quickly determine if writing an entire device to zero can be done quickly (such as when it is already known that the device started with zero contents); in those cases, artificially capping things at 2G in qemu-io itself doesn't help us. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20211203231539.3900865-4-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions