Re: [PATCH V3 4/6] nvmet: ignore discard return value
From: Chaitanya Kulkarni
Date: Sat Jan 24 2026 - 16:35:38 EST
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@xxxxxxxxxx>
> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Chaitanya Kulkarni <ckulkarnilinux@xxxxxxxxx>
> ---
Gentle ping on this, can we apply this patch ?
-ck