Re: [dm-devel] [PATCH 1/3] block: inherit the zoned characteristics in blk_stack_limits

2020-07-21 Thread Mike Snitzer
On Mon, Jul 20 2020 at 2:12am -0400, Christoph Hellwig wrote: > Lift the code from device mapper into blk_stack_limits to inherity > the stacking limitations. This ensures we do the right thing for > all stacked zoned block devices. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

Re: [dm-devel] [PATCH 1/3] block: inherit the zoned characteristics in blk_stack_limits

2020-07-20 Thread Johannes Thumshirn
On 20/07/2020 08:13, Christoph Hellwig wrote: > /* > * Zoned block device models (zoned limit). > + * > + * Note: This needs to be ordered from the least to the most severe > + * restrictions for the inheritance in blk_stack_limits() to work. > */ > enum blk_zoned_model { > - BLK_ZONED_NO

Re: [dm-devel] [PATCH 1/3] block: inherit the zoned characteristics in blk_stack_limits

2020-07-20 Thread Damien Le Moal
On 2020/07/20 15:13, Christoph Hellwig wrote: > Lift the code from device mapper into blk_stack_limits to inherity > the stacking limitations. This ensures we do the right thing for > all stacked zoned block devices. > > Signed-off-by: Christoph Hellwig > --- > block/blk-settings.c | 1 + >

[dm-devel] [PATCH 1/3] block: inherit the zoned characteristics in blk_stack_limits

2020-07-19 Thread Christoph Hellwig
Lift the code from device mapper into blk_stack_limits to inherity the stacking limitations. This ensures we do the right thing for all stacked zoned block devices. Signed-off-by: Christoph Hellwig --- block/blk-settings.c | 1 + drivers/md/dm-table.c | 19 --- include/linux