io_opt fixups
Jens Axboe
axboe at kernel.dk
Mon Jul 1 05:53:28 PDT 2024
On Mon, 01 Jul 2024 07:17:49 +0200, Christoph Hellwig wrote:
> I recently noticed that on my test VMs with the Qemu NVMe emulations I
> see a zero max_setors_kb limit in sysfs. It turns out Qemu advertises
> a one-LBA optimal write size, which is a bit silly.
>
> This series handles this odd case properly both in the block layer and
> the nvme driver as a sort of defense in depth.
>
> [...]
Applied, thanks!
[1/3] block: remove a duplicate io_min check in blk_validate_limits
commit: f62e8edc0a9fda84fe5bf32d5f5874b489d6c301
[2/3] block: don't reduce max_sectors based on io_opt
commit: 37105615f73125cb0466c09796f277a4c46d9295
[3/3] nvme: don't set io_opt if NOWS is zero
commit: f3bf25d5135539603f24e377c6dec3016fbd9786
Best regards,
--
Jens Axboe
More information about the Linux-nvme
mailing list