Re: [PATCH] blk-mq: fix WARNING "percpu_ref_kill() called more than once!"

From: Jens Axboe
Date: Fri Aug 15 2014 - 14:37:18 EST


On 2014-08-15 09:16, Ming Lei wrote:
Before doing queue release, the queue has been freezed already
by blk_cleanup_queue(), so needn't to freeze queue for deleting
tag set.

This patch fixes the WARNING of "percpu_ref_kill() called more than once!"
which is triggered during unloading block driver.

Thanks, you are right, we need not call it there. I'll apply this for 3.17.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/