Re: [patch] blk-mq: zero out ctx_map during initialization

From: Jens Axboe
Date: Mon Oct 21 2013 - 15:12:18 EST


On Mon, Oct 21 2013, Jeff Moyer wrote:
> Hi,
>
> ctx_map may contain random garbage, leading to (potentially chronic but
> harmless) false positives in blk_mq_hctx_has_pending.
>
> Note: I have not observed this in practice, just by code inspection.

It's the prudent thing to do in any case. Applied.

--
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/