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] [day] [month] [year] [list]
Message-ID: <2f356d3564524c8c8b314ca759ec9cb07659d42a.camel@gmail.com>
Date: Wed, 26 Nov 2025 09:41:19 +1000
From: Wilfred Mallawa <wilfred.opensource@...il.com>
To: Chaitanya Kulkarni <ckulkarnilinux@...il.com>, axboe@...nel.dk, 
	agk@...hat.com, snitzer@...nel.org, mpatocka@...hat.com, song@...nel.org, 
	yukuai@...as.com, hch@....de, sagi@...mberg.me, kch@...dia.com,
 jaegeuk@...nel.org, 	chao@...nel.org, cem@...nel.org
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org, 
	dm-devel@...ts.linux.dev, linux-raid@...r.kernel.org, 
	linux-nvme@...ts.infradead.org, linux-f2fs-devel@...ts.sourceforge.net, 
	linux-xfs@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH V2 2/5] dm: ignore discard return value

On Sun, 2025-11-23 at 18:57 -0800, Chaitanya Kulkarni wrote:
> __blkdev_issue_discard() always returns 0, making all error checking
> at call sites dead code.
> 
> For dm-thin change issue_discard() return type to void, in
> passdown_double_checking_shared_status() remove the r assignment from
> return value of the issue_discard(), for end_discard() hardcod value

Hey Chaitanya,

Typo here s/hardcod/hardcode. Otherwise, with the split as other have
suggested:


Reviewed-by: Wilfred Mallawa <wilfred.mallawa@....com>

Regards,
Wilfred

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ