On Wed, Nov 11, 2020 at 02:16:42PM +0900, Damien Le Moal wrote: > null_blk always uses the default BLK_SAFE_MAX_SECTORS value for the > max_hw_sectors and max_sectors queue limits resulting in a maximum > request size of 127 sectors. When the blocksize setting is larger than > the default 512B, this maximum request size is not aligned to the > block size. To emulate a real device more accurately, fix this by > setting the max_hw_sectors and max_sectors queue limits to a value > that is aligned to the block size. Shouldn't we fix this in the block layer instead of individual drivers?