mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Ming Lei <ming.lei@canonical.com>, Jens Axboe <axboe@kernel.dk>,
	linux-kernel@vger.kernel.org
Subject: Re: block: fully initialize queue in blk_mq_init_allocated_queue
Date: Fri, 13 Mar 2015 08:24:36 -0400	[thread overview]
Message-ID: <20150313122436.GB7312@redhat.com> (raw)
In-Reply-To: <1426239050-2528-1-git-send-email-sergey.senozhatsky@gmail.com>

On Fri, Mar 13 2015 at  5:30am -0400,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com> wrote:

> Commit c9e8c91f8a279b87eb0d94b037504ea9fc1bef7c
>  Author: Mike Snitzer <snitzer@redhat.com>
>  Date:   Tue Mar 10 15:54:41 2015 -0400
> 
>  blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path
> 
> for some reason has moved queue allocation 'q = blk_alloc_queue_node()'
> after 'percpu_ref_init(&q->mq_usage_counter...)', so we are doing percpu
> init on something that is not a request_queue.
> 
> Further commit 716452cd27b145d611e4399e7cc35df6c943686e
>  Author: Mike Snitzer <snitzer@redhat.com>
>  Date:   Tue Mar 10 17:20:20 2015 -0400
> 
>  blk-mq: add blk_mq_init_allocated_queue and export
> 
> has introduced abother issue.
> In blk_mq_init_queue() we allocate new request_queue:
> ...

Thanks, but I already fixed these 2 patches and pushed them to
linux-dm.git's for-next branch last night (I also posted v3 of the
corresponding patches to LKML at that time).

Sorry to waste your time, I've learned my lesson:

Don't validate a tree works and then decide to hurridly rebase before
pushing to linux-next, to get a fix before a feature, without re-testing
the result (prior to rebase, patches 1 and 2 were inverted and I didn't
have the extra blk_mq_init_queue -- that snuck in with the rebase).

Hopefully linux-next was able to pick up my new 'for-next' and we don't
have an entire weekend of linux-next crashes due to my idiocy.

  reply	other threads:[~2015-03-13 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13  9:30 [PATCH] " Sergey Senozhatsky
2015-03-13 12:24 ` Mike Snitzer [this message]
2015-03-13 12:37   ` Sergey Senozhatsky
2015-03-13 14:17     ` next-20150313's block is broken, but fix available [was: Re: block: fully initialize queue in blk_mq_init_allocated_queue] Mike Snitzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150313122436.GB7312@redhat.com \
    --to=snitzer@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ming.lei@canonical.com \
    --cc=sergey.senozhatsky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome