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

Jens Axboe
2013-10-21T19:12:14Z

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