Re: [PATCH 03/11] block: check BLK_FEAT_POLL under q_usage_count

Nilay Shroff
2025-01-09T09:04:20Z

On 1/9/25 11:27 AM, Christoph Hellwig wrote:
> Otherwise feature reconfiguration can race with I/O submission.
>
> Also drop the bio_clear_polled in the error path, as the flag does not
> matter for instant error completions, it is a left over from when we
> allowed polled I/O to proceed unpolled in this case.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>