lkml.org 
[lkml]   [2012]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: block: WARN_ON_ONCE(ev->block <= 0) triggered in __disk_unblock_events()
Hello,

On Sun, Jan 01, 2012 at 05:22:58PM +0000, Bart Van Assche wrote:
> In a workload that involves a lot of scsi_remove_hosts() calls (srp-ha
> patch set stress test) I get the call stack below after about 30 to 50
> iterations. Is this a known issue ? Does this indicate a race
> condition in the block layer ? I can trigger this issue not only with
> 3.2-rc7 but also with 3.1.6. I haven't tried any other kernel versions
> yet.
>
> ------------[ cut here ]------------
> WARNING: at block/genhd.c:1466 __disk_unblock_events+0xf5/0x110()

It's indicating that there were more disk_unblock_events() than
disk_block_events(). Hmmm... weird. I'll prep a debug patch.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-01-03 19:39    [W:0.065 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site