public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Followup single fix for block IO core pull
@ 2015-04-17 15:12 Jens Axboe
  2015-04-17 15:41 ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2015-04-17 15:12 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Hi Linus,

A commit in the previous pull request introduce a regression. So far
only observed on qemu-sparc64, but it's a general bug. Please pull this
single fix to rectify that, thanks.

  git://git.kernel.dk/linux-block.git for-linus

----------------------------------------------------------------
Jens Axboe (1):
      blk-mq: fix iteration of busy bitmap

 block/blk-mq.c         | 6 +++---
 include/linux/blk-mq.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Followup single fix for block IO core pull
  2015-04-17 15:12 [GIT PULL] Followup single fix for block IO core pull Jens Axboe
@ 2015-04-17 15:41 ` Dave Jones
  2015-04-17 15:45   ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2015-04-17 15:41 UTC (permalink / raw)
  To: Jens Axboe; +Cc: torvalds, linux-kernel

On Fri, Apr 17, 2015 at 09:12:01AM -0600, Jens Axboe wrote:
 > Hi Linus,
 > 
 > A commit in the previous pull request introduce a regression. So far
 > only observed on qemu-sparc64, but it's a general bug. Please pull this
 > single fix to rectify that, thanks.

I hit the same bug on two x86 boxes, bare-metal.
Reverting the commit Guenter pointed out made them boot again,
so definitely not sparc/qemu specific in any way.

I suspect the only reason more people didn't see it is that not
everyone is running with the mq-by-default config option yet ?

	Dave


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Followup single fix for block IO core pull
  2015-04-17 15:41 ` Dave Jones
@ 2015-04-17 15:45   ` Jens Axboe
  2015-04-17 15:48     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2015-04-17 15:45 UTC (permalink / raw)
  To: Dave Jones, torvalds, linux-kernel

On 04/17/2015 09:41 AM, Dave Jones wrote:
> On Fri, Apr 17, 2015 at 09:12:01AM -0600, Jens Axboe wrote:
>   > Hi Linus,
>   >
>   > A commit in the previous pull request introduce a regression. So far
>   > only observed on qemu-sparc64, but it's a general bug. Please pull this
>   > single fix to rectify that, thanks.
>
> I hit the same bug on two x86 boxes, bare-metal.
> Reverting the commit Guenter pointed out made them boot again,
> so definitely not sparc/qemu specific in any way.
>
> I suspect the only reason more people didn't see it is that not
> everyone is running with the mq-by-default config option yet ?

It is puzzling. I ran it on several boxes, both multi queue and not, and 
both single mq queues and multiple. But the code is clearly wrong. So 
yeah, it's not sparc64 specific in any way. My initial thought was that 
this was another issue related to sparse CPU ids, but that's not the 
case. It's a plain bug, unfortunately.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Followup single fix for block IO core pull
  2015-04-17 15:45   ` Jens Axboe
@ 2015-04-17 15:48     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2015-04-17 15:48 UTC (permalink / raw)
  To: Dave Jones, torvalds, linux-kernel

On 04/17/2015 09:45 AM, Jens Axboe wrote:
> On 04/17/2015 09:41 AM, Dave Jones wrote:
>> On Fri, Apr 17, 2015 at 09:12:01AM -0600, Jens Axboe wrote:
>>   > Hi Linus,
>>   >
>>   > A commit in the previous pull request introduce a regression. So far
>>   > only observed on qemu-sparc64, but it's a general bug. Please pull
>> this
>>   > single fix to rectify that, thanks.
>>
>> I hit the same bug on two x86 boxes, bare-metal.
>> Reverting the commit Guenter pointed out made them boot again,
>> so definitely not sparc/qemu specific in any way.
>>
>> I suspect the only reason more people didn't see it is that not
>> everyone is running with the mq-by-default config option yet ?
>
> It is puzzling. I ran it on several boxes, both multi queue and not, and
> both single mq queues and multiple. But the code is clearly wrong. So
> yeah, it's not sparc64 specific in any way. My initial thought was that
> this was another issue related to sparse CPU ids, but that's not the
> case. It's a plain bug, unfortunately.

It's the pre morning coffee issue, looks like. All my test boxes end up 
having >= map->bits_per_word CPUs, so the test cases never ran into the 
round down issue.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-17 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 15:12 [GIT PULL] Followup single fix for block IO core pull Jens Axboe
2015-04-17 15:41 ` Dave Jones
2015-04-17 15:45   ` Jens Axboe
2015-04-17 15:48     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox