[PATCH V3 4/6] nvmet: ignore discard return value

hch at lst.de hch at lst.de
Sun Jan 25 20:57:16 PST 2026


On Sat, Jan 24, 2026 at 09:35:16PM +0000, Chaitanya Kulkarni wrote:
> On 11/24/25 15:48, Chaitanya Kulkarni wrote:
> > __blkdev_issue_discard() always returns 0, making the error checking
> > in nvmet_bdev_discard_range() dead code.
> >
> > Kill the function nvmet_bdev_discard_range() and call
> > __blkdev_issue_discard() directly from nvmet_bdev_execute_discard(),
> > since no error handling is needed anymore for __blkdev_issue_discard()
> > call.
> >
> > Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
> > Reviewed-by: Johannes Thumshirn <johannes.thumshirn at wdc.com>
> > Reviewed-by: Christoph Hellwig <hch at lst.de>
> > Signed-off-by: Chaitanya Kulkarni <ckulkarnilinux at gmail.com>
> > ---
> 
> Gentle ping on this, can we apply this patch ?

Are we down to three patches now?  Maybe resend the whole series and
get ACKs to merge everything through the block layer?




More information about the Linux-nvme mailing list