All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] Fix fallout from changes to FUA and PREFLUSH definitions
@ 2017-05-31  7:44 Jan Kara
  2017-05-31  7:44 ` [PATCH 1/2] dm: Make flush bios explicitely sync Jan Kara
  2017-05-31  7:44 ` [PATCH 2/2] md: " Jan Kara
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Kara @ 2017-05-31  7:44 UTC (permalink / raw)
  To: Shaohua Li; +Cc: Jan Kara, linux-raid, Mike Snitzer, dm-devel

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

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

end of thread, other threads:[~2017-05-31 16:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31  7:44 [PATCH 0/2 v2] Fix fallout from changes to FUA and PREFLUSH definitions Jan Kara
2017-05-31  7:44 ` [PATCH 1/2] dm: Make flush bios explicitely sync Jan Kara
2017-05-31 14:53   ` Mike Snitzer
2017-05-31  7:44 ` [PATCH 2/2] md: " Jan Kara
2017-05-31 16:23   ` Shaohua Li

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.