Re: Race condition in block layer runtime PM init and scsi disk driver

2013-10-09 Thread sthumma
> On 10/09/2013 04:32 PM, sthu...@codeaurora.org wrote: >>> Hi Aaron, >>> >>> I found a race condition with the block layer runtime PM due to which >>> the q->nr_pending is decremented to less than zero (0x_ (-1)) >>> and hence the blk pre-runtime suspend always returns -EBUSY. >>> >>> >>>

Re: Race condition in block layer runtime PM init and scsi disk driver

2013-10-09 Thread Aaron Lu
On 10/09/2013 04:32 PM, sthu...@codeaurora.org wrote: >> Hi Aaron, >> >> I found a race condition with the block layer runtime PM due to which >> the q->nr_pending is decremented to less than zero (0x_ (-1)) >> and hence the blk pre-runtime suspend always returns -EBUSY. >> >> >> The issue

Re: Race condition in block layer runtime PM init and scsi disk driver

2013-10-09 Thread sthumma
> Hi Aaron, > > I found a race condition with the block layer runtime PM due to which > the q->nr_pending is decremented to less than zero (0x_ (-1)) > and hence the blk pre-runtime suspend always returns -EBUSY. > > > The issue is easily reproduced with a scsi disk with disabled tagged > c