Re: [dm-devel] [dm-6.4 PATCH 1/8] dm: split discards further if target sets max_discard_granularity

2023-03-23 Thread Mike Snitzer
On Thu, Mar 23 2023 at 4:00P -0400, Joe Thornber wrote: > Also nacking this patch since you refused to test it. I said I'd test > since you haven't, but you couldn't wait. [Pleaase don't top-post.] That's fine. I had already dropped this patch from linux-next due to my testing showing it

Re: [dm-devel] [dm-6.4 PATCH 1/8] dm: split discards further if target sets max_discard_granularity

2023-03-23 Thread Joe Thornber
Also nacking this patch since you refused to test it. I said I'd test since you haven't, but you couldn't wait. - Joe On Wed, Mar 22, 2023 at 6:19 PM Mike Snitzer wrote: > The block core (bio_split_discard) will already split discards based > on the 'discard_granularity' and

[dm-devel] [dm-6.4 PATCH 1/8] dm: split discards further if target sets max_discard_granularity

2023-03-22 Thread Mike Snitzer
The block core (bio_split_discard) will already split discards based on the 'discard_granularity' and 'max_discard_sectors' queue_limits. But the DM thin target also needs to ensure that it doesn't receive a discard that spans a 'max_discard_sectors' boundary. Introduce a dm_target