Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Shaohua Li <shli@kernel.org>
Cc: Jan Kara <jack@suse.cz>,
	linux-raid@vger.kernel.org, Mike Snitzer <snitzer@redhat.com>,
	dm-devel@redhat.com
Subject: [PATCH 0/2 v2] Fix fallout from changes to FUA and PREFLUSH definitions
Date: Wed, 31 May 2017 09:44:31 +0200	[thread overview]
Message-ID: <20170531074433.14298-1-jack@suse.cz> (raw)

Hello,

here are patches for DM/MD that address a possible performance issue caused by
commit b685d3d65ac7 "block: treat REQ_FUA and REQ_PREFLUSH as synchronous".

The core of the problem is that above mentioned commit removed REQ_SYNC flag
from WRITE_{FUA|PREFLUSH|...} definitions.  generic_make_request_checks()
however strips REQ_FUA and REQ_PREFLUSH flags from a bio when the storage
doesn't report volatile write cache and thus write effectively becomes
asynchronous which can lead to performance regressions.

DM/MD guys, can you please have a look at patches and take them through your
trees? Thanks!

								Honza

             reply	other threads:[~2017-05-31  7:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31  7:44 Jan Kara [this message]
2017-05-31  7:44 ` [PATCH 2/2] md: Make flush bios explicitely sync Jan Kara
2017-05-31 16:23   ` Shaohua Li

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=20170531074433.14298-1-jack@suse.cz \
    --to=jack@suse.cz \
    --cc=dm-devel@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=shli@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox