Re: [PATCH v3] block: Avoid polling configuration errors

From: Jens Axboe
Date: Fri Jul 19 2024 - 11:39:22 EST



On Thu, 18 Jul 2024 15:08:17 +0800, hexue wrote:
> This patch add a poll queue check, aims to help users to use poll tolls
> accurately.
>
> If users do polled IO but device doesn't have poll queues, they will get
> wrong perfromance data and waste CPU resources. So here adding a poll queue
> check, if users do this misconfiguration, it will return users that device
> does not support this operation, to help users adjust their configuration
> promptly.
> --
> changes from v2:
> - move check into block layer
> - return -EOPNOTSUPP instead of print a warning in io_uring
> v2: https://lore.kernel.org/io-uring/20240711082430.609597-1-xue01.he@xxxxxxxxxxx/T/#u
>
> [...]

Applied, thanks!

[1/1] block: Avoid polling configuration errors
commit: 73e59d3eeca4feaf0814a077df8ec5edc53ccf77

Best regards,
--
Jens Axboe