On Mon, 1 Dec 2025, Chaitanya Kulkarni wrote: > Hi Mike and Mikulas, > > On 11/24/25 15:48, 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() hardcode value of > > r to 0 that matches only value returned from __blkdev_issue_discard(). > > > > Reviewed-by: Martin K. Petersen<[email protected]> > > Reviewed-by: Johannes Thumshirn<[email protected]> > > Reviewed-by: Christoph Hellwig<[email protected]> > > Signed-off-by: Chaitanya Kulkarni<[email protected]> > > --- > > > Gentle ping on this. > > -ck Hi I thought that this patch would go with the other patches that do the same change in other subsystems - but if you want me to make it go through the device mapper tree, I can do it. I staged the patch for this merge window. Mikulas
- [PATCH V3 0/6] block: ignore __blkdev_issue_discard() r... Chaitanya Kulkarni
- [PATCH V3 1/6] block: ignore discard return value Chaitanya Kulkarni
- Re: [PATCH V3 1/6] block: ignore discard retur... Jens Axboe
- Re: [PATCH V3 1/6] block: ignore discard r... Chaitanya Kulkarni
- Re: [PATCH V3 1/6] block: ignore disca... Jens Axboe
- [PATCH V3 2/6] md: ignore discard return value Chaitanya Kulkarni
- [PATCH V3 3/6] dm: ignore discard return value Chaitanya Kulkarni
- Re: [PATCH V3 3/6] dm: ignore discard return v... Chaitanya Kulkarni
- Re: [PATCH V3 3/6] dm: ignore discard retu... Mikulas Patocka
- [PATCH V3 5/6] f2fs: ignore discard return value Chaitanya Kulkarni
- Re: [PATCH V3 5/6] f2fs: ignore discard return... Chao Yu
- Re: [PATCH V3 5/6] f2fs: ignore discard re... Christoph Hellwig
- Re: [PATCH V3 5/6] f2fs: ignore discard return... Chao Yu
- Re: [PATCH V3 5/6] f2fs: ignore discard re... Chaitanya Kulkarni
- [PATCH V3 4/6] nvmet: ignore discard return value Chaitanya Kulkarni
- Re: [f2fs-dev] [PATCH V3 4/6] nvmet: ignore di... Yongpeng Yang
- Re: [f2fs-dev] [PATCH V3 4/6] nvmet: ignor... Christoph Hellwig
