[PATCH] IB/core: Protect against self-requeue of a cq work item

Bart Van Assche Bart.VanAssche at sandisk.com
Wed Mar 8 14:12:56 PST 2017


On Wed, 2017-03-08 at 22:00 +0200, Sagi Grimberg wrote:
> We need to make sure that the cq work item does not
> run when we are destroying the cq. Unlike flush_work,
> cancel_work_sync protects against self-requeue of the
> work item (which we can do in ib_cq_poll_work).

Reviewed-by: Bart Van Assche <bart.vanassche at sandisk.com>


More information about the Linux-nvme mailing list