[dm-devel] [PATCH] block: Improve io_opt limit stacking

Martin K. Petersen martin.petersen at oracle.com
Fri May 22 13:28:36 UTC 2020


Damien,

>> +	if (t->io_opt & (t->physical_block_size - 1))
>> +		t->io_opt = lcm(t->io_opt, t->physical_block_size);

> Any comment on this patch ?  Note: the patch the patch "nvme: Fix
> io_opt limit setting" is already queued for 5.8.

Setting io_opt to the physical block size is not correct.

-- 
Martin K. Petersen	Oracle Linux Engineering




More information about the dm-devel mailing list