Re: [dm-devel] [PATCH] dm-raid: stack limits instead of overwriting them.

2020-09-24 Thread Mikulas Patocka
On Thu, 24 Sep 2020, John Dorminy wrote: > I don't understand how this works... > > Can chunk_size_bytes be 0? If not, how is discard_granularity being set to 0? Yes - chunk_size_bytes is 0 here. > I think also limits is local to the ti in question here, initialized > by blk_set_stacking_lim

Re: [dm-devel] [PATCH] dm-raid: stack limits instead of overwriting them.

2020-09-24 Thread John Dorminy
I don't understand how this works... Can chunk_size_bytes be 0? If not, how is discard_granularity being set to 0? I think also limits is local to the ti in question here, initialized by blk_set_stacking_limits() via dm-table.c, and therefore has only default values and not anything to do with th