linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@fb.com>
To: <torvalds@linuxfoundation.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] Final block fixes for 3.17
Date: Tue, 23 Sep 2014 14:55:01 -0600	[thread overview]
Message-ID: <20140923205501.GA30328@kernel.dk> (raw)

Hi Linus,

This week and last we've been fixing some corner cases related to
blk-mq, mostly. I ended up pulling most of that out of for-linus
yesterday, which is why the branch looks fresh. The rest were postponed
for 3.18.

This pull request contains:

- Fix from Christoph, avoiding a stack overflow when FUA insertion would
  recursive infinitely.

- Fix from David Hildenbrand on races between the timeout handler and
  uninitialized requests. Fixes a real issue that virtio_blk has run
  into.

- A few fixes from me:

        - Ensure that request deadline/timeout is ordered before the
          request is marked as started.

        - A potential oops on out-of-memory, when we scale the queue
          depth of the device and retry.

        - A hang fix on requeue from SCSI, where the hardware queue
          would be stopped when we attempt to re-run it (and hence
          nothing would happen, stalling progress).

        - A fix for commit 2da78092, where the cleanup path was moved
          to RCU, but a debug might_sleep() was inadvertently left in
          the code. This causes warnings for people.

Please pull!


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

for you to fetch changes up to 46f341ffcfb5d8530f7d1e60f3be06cce6661b62:

  genhd: fix leftover might_sleep() in blk_free_devt() (2014-09-22 14:45:45 -0600)

----------------------------------------------------------------
Christoph Hellwig (1):
      blk-mq: avoid infinite recursion with the FUA flag

David Hildenbrand (1):
      blk-mq: Avoid race condition with uninitialized requests

Jens Axboe (4):
      blk-mq: request deadline must be visible before marking rq as started
      blk-mq: fix potential oops on out-of-memory in __blk_mq_alloc_rq_maps()
      blk-mq: use blk_mq_start_hw_queues() when running requeue work
      genhd: fix leftover might_sleep() in blk_free_devt()

 block/blk-exec.c |  1 +
 block/blk-mq.c   | 28 +++++++++++++++++-----------
 block/genhd.c    |  2 --
 3 files changed, 18 insertions(+), 13 deletions(-)

-- 
Jens Axboe


                 reply	other threads:[~2014-09-23 20:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20140923205501.GA30328@kernel.dk \
    --to=axboe@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linuxfoundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).