On Mon, Feb 12, 2024 at 04:14:48PM +0900, Damien Le Moal wrote: > > - blk_set_default_limits(lim); > > + memset(lim, 0, sizeof(*lim)); > > + lim->logical_block_size = lim->physical_block_size = lim->io_min = 512; > > + lim->discard_granularity = 512; > > Super minor nit: SECTOR_SIZE would be nice here. Just a code movement / copy, but otherwise yes. This code should go away when updating the stacking to the new API, so I'm not going to bother.