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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 15 Apr 2022 05:47:13 +0000 From: Chaitanya Kulkarni <chaitanyak@...dia.com> To: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk> CC: "dm-devel@...hat.com" <dm-devel@...hat.com>, "linux-xfs@...r.kernel.org" <linux-xfs@...r.kernel.org>, "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>, "linux-um@...ts.infradead.org" <linux-um@...ts.infradead.org>, "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>, "drbd-dev@...ts.linbit.com" <drbd-dev@...ts.linbit.com>, "nbd@...er.debian.org" <nbd@...er.debian.org>, "ceph-devel@...r.kernel.org" <ceph-devel@...r.kernel.org>, "virtualization@...ts.linux-foundation.org" <virtualization@...ts.linux-foundation.org>, "xen-devel@...ts.xenproject.org" <xen-devel@...ts.xenproject.org>, "linux-bcache@...r.kernel.org" <linux-bcache@...r.kernel.org>, "linux-raid@...r.kernel.org" <linux-raid@...r.kernel.org>, "linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>, "linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>, "linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>, "linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>, "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>, "target-devel@...r.kernel.org" <target-devel@...r.kernel.org>, "linux-btrfs@...r.kernel.org" <linux-btrfs@...r.kernel.org>, "linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>, "linux-f2fs-devel@...ts.sourceforge.net" <linux-f2fs-devel@...ts.sourceforge.net>, "cluster-devel@...hat.com" <cluster-devel@...hat.com>, "jfs-discussion@...ts.sourceforge.net" <jfs-discussion@...ts.sourceforge.net>, "linux-nilfs@...r.kernel.org" <linux-nilfs@...r.kernel.org>, "ntfs3@...ts.linux.dev" <ntfs3@...ts.linux.dev>, "ocfs2-devel@....oracle.com" <ocfs2-devel@....oracle.com>, "linux-mm@...ck.org" <linux-mm@...ck.org>, "Martin K . Petersen" <martin.petersen@...cle.com>, Christoph Böhmwalder <christoph.boehmwalder@...bit.com>, Coly Li <colyli@...e.de>, David Sterba <dsterba@...e.com> Subject: Re: [PATCH 23/27] block: add a bdev_max_discard_sectors helper On 4/14/22 21:52, Christoph Hellwig wrote: > Add a helper to query the number of sectors support per each discard bio > based on the block device and use this helper to stop various places from > poking into the request_queue to see if discard is supported and if so how > much. This mirrors what is done e.g. for write zeroes as well. > > Signed-off-by: Christoph Hellwig <hch@....de> > Reviewed-by: Martin K. Petersen <martin.petersen@...cle.com> > Acked-by: Christoph Böhmwalder <christoph.boehmwalder@...bit.com> [drbd] > Acked-by: Coly Li <colyli@...e.de> [bcache] > Acked-by: David Sterba <dsterba@...e.com> [btrfs] > --- Looks good. Reviewed-by: Chaitanya Kulkarni <kch@...dia.com> -ck
Powered by blists - more mailing lists