Re: blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-12 Thread Keith Busch
On Fri, Feb 12, 2016 at 04:24:35PM +0800, Ming Lei wrote: > On Fri, 12 Feb 2016 00:41:28 -0500 > Hi Sasha, > > It should be about timing of setting q->mq_ops, and > I believe the following patch may fix the issue, could > you give a test? Thanks, Ming, that looks better and looks like the same

Re: blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-12 Thread Ming Lei
On Fri, 12 Feb 2016 00:41:28 -0500 Sasha Levin wrote: > Hi all, > > I've started seeing the following errors on boot: > > [6035791.296570] > == > [6035791.297467] BUG: KASAN: slab-out-of-bounds in > loop_init_request+0x19c/0x1c0

Re: blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-12 Thread Ming Lei
On Fri, 12 Feb 2016 00:41:28 -0500 Sasha Levin wrote: > Hi all, > > I've started seeing the following errors on boot: > > [6035791.296570] > == > [6035791.297467] BUG: KASAN: slab-out-of-bounds in >

Re: blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-12 Thread Keith Busch
On Fri, Feb 12, 2016 at 04:24:35PM +0800, Ming Lei wrote: > On Fri, 12 Feb 2016 00:41:28 -0500 > Hi Sasha, > > It should be about timing of setting q->mq_ops, and > I believe the following patch may fix the issue, could > you give a test? Thanks, Ming, that looks better and looks like the same

blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-11 Thread Sasha Levin
Hi all, I've started seeing the following errors on boot: [6035791.296570] == [6035791.297467] BUG: KASAN: slab-out-of-bounds in loop_init_request+0x19c/0x1c0 at addr 880052e5c190 [6035791.298355] Write of size 8 by task

blk: accessing invalid memory with "blk-mq: dynamic h/w context count"

2016-02-11 Thread Sasha Levin
Hi all, I've started seeing the following errors on boot: [6035791.296570] == [6035791.297467] BUG: KASAN: slab-out-of-bounds in loop_init_request+0x19c/0x1c0 at addr 880052e5c190 [6035791.298355] Write of size 8 by task