lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1wng1k2zn.fsf@ca-mkp.ca.oracle.com>
Date:   Wed, 06 Apr 2022 23:05:13 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Christoph Hellwig <hch@....de>
Cc:     Jens Axboe <axboe@...nel.dk>, jfs-discussion@...ts.sourceforge.net,
        linux-nvme@...ts.infradead.org,
        virtualization@...ts.linux-foundation.org, linux-mm@...ck.org,
        dm-devel@...hat.com, target-devel@...r.kernel.org,
        linux-mtd@...ts.infradead.org, drbd-dev@...ts.linbit.com,
        linux-s390@...r.kernel.org, linux-nilfs@...r.kernel.org,
        linux-scsi@...r.kernel.org, cluster-devel@...hat.com,
        xen-devel@...ts.xenproject.org, linux-ext4@...r.kernel.org,
        linux-um@...ts.infradead.org, nbd@...er.debian.org,
        linux-block@...r.kernel.org, linux-bcache@...r.kernel.org,
        ceph-devel@...r.kernel.org, linux-raid@...r.kernel.org,
        linux-mmc@...r.kernel.org, linux-f2fs-devel@...ts.sourceforge.net,
        linux-xfs@...r.kernel.org, ocfs2-devel@....oracle.com,
        linux-fsdevel@...r.kernel.org, ntfs3@...ts.linux.dev,
        linux-btrfs@...r.kernel.org
Subject: Re: [dm-devel] [PATCH 01/27] target: remove an incorrect unmap
 zeroes data deduction


Christoph,

> For block devices the target code implements UNMAP as calls to
> blkdev_issue_discard, which does not guarantee zeroing just because
> Write Zeroes is supported.
>
> Note that this does not affect the file backed path which uses
> fallocate to punch holes.
>
> Fixes: 2237498f0b5c ("target/iblock: Convert WRITE_SAME to blkdev_issue_zeroout")
> Signed-off-by: Christoph Hellwig <hch@....de>



-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ