|
From: | Nir Soffer |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH for-3.0] file-posix: Fix write_zeroes with unmap on block devices |
Date: | Thu, 26 Jul 2018 18:06:13 +0300 |
On 07/26/2018 06:33 AM, Kevin Wolf wrote:
> The BLKDISCARD ioctl doesn't guarantee that the discarded blocks read as
> all-zero afterwards, so don't try to abuse it for zero writing. We try
> to only use this if BLKDISCARDZEROES tells us that it is safe, but this
> is unreliable on older kernels and a constant 0 in newer kernels. In
For my own curiosity, which kernel commit switched to constant 0, so I
can read the rationale in that commit message?
[Prev in Thread] | Current Thread | [Next in Thread] |