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

From: Chaitanya Kulkarni

Date: Tue Jan 27 2026 - 17:41:18 EST


On 1/25/26 20:57, hch@xxxxxx wrote:
> 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@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 ?
> Are we down to three patches now? Maybe resend the whole series and
> get ACKs to merge everything through the block layer?
>
sounds good, will re-spin the remaining patches on linux-block/for-next.

-ck