All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: Jens Axboe <axboe@kernel.dk>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Cc: Mike Snitzer <snitzer@redhat.com>
Subject: Re: [PATCH] block: fix direct dispatch issue failure for clones
Date: Thu, 06 Dec 2018 14:46:46 -0800	[thread overview]
Message-ID: <1544136406.185366.288.camel@acm.org> (raw)
In-Reply-To: <0448060e-4bba-4f53-008e-520b5b7436e9@kernel.dk>

On Thu, 2018-12-06 at 15:21 -0700, Jens Axboe wrote:
> On 12/6/18 3:20 PM, Jens Axboe wrote:
> > After the direct dispatch corruption fix, we permanently disallow direct
> > dispatch of non read/write requests. This works fine off the normal IO
> > path, as they will be retried like any other failed direct dispatch
> > request. But for the blk_insert_cloned_request() that only DM uses to
> > bypass the bottom level scheduler, we always first attempt direct
> > dispatch. For some types of requests, that's now a permanent failure,
> > and no amount of retrying will make that succeed.
> > 
> > Don't use direct dispatch off the cloned insert path, always just use
> > bypass inserts. This still bypasses the bottom level scheduler, which is
> > what DM wants.
> > 
> > Fixes: ffe81d45322c ("blk-mq: fix corruption with direct issue")
> > Signed-off-by: Jens Axboe <axboe@kernel.dk>
> 
> Bart, I'll add your reported-by here of course, and also a stable CC
> since the original patch went into stable.

Feel free to add the following:

Tested-by: Bart Van Assche <bvanassche@acm.org>


  reply	other threads:[~2018-12-06 22:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06 22:20 [PATCH] block: fix direct dispatch issue failure for clones Jens Axboe
2018-12-06 22:21 ` Jens Axboe
2018-12-06 22:46   ` Bart Van Assche [this message]
2018-12-06 22:28 ` Mike Snitzer
2018-12-06 22:32   ` Jens Axboe
2018-12-07  1:04 ` [PATCH] " jianchao.wang
2018-12-07  1:13   ` Jens Axboe
2018-12-07  1:22     ` jianchao.wang
2018-12-07  1:34       ` Jens Axboe
2018-12-07  1:58         ` Mike Snitzer
2018-12-07  2:06           ` Jens Axboe
2018-12-07  2:16             ` Jens Axboe
2018-12-07  2:28               ` Jens Axboe
2018-12-07  2:10           ` Mike Snitzer
2018-12-07  2:05         ` [PATCH] " jianchao.wang
2018-12-07  1:41     ` Mike Snitzer
2018-12-07  1:20   ` 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=1544136406.185366.288.camel@acm.org \
    --to=bvanassche@acm.org \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=snitzer@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.