Re: [PATCHv2 12/17] nvme: add Clang context annotations for nvme_queue::cq_poll_lock

From: Christoph Hellwig

Date: Mon Jun 29 2026 - 08:55:47 EST


On Fri, Jun 26, 2026 at 08:52:36PM +0530, Nilay Shroff wrote:
>
> That's because nvme_poll() and nvme_irq() both reuse nvme_poll_cq() to
> process completions, but they rely on different synchronization mechanisms.

Well, we could split the function easily, but it still uses the same
data structure and thus annotations.