public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* Reliable write support.
@ 2011-03-24 21:22 Andrei Warkentin
  2011-03-24 21:22 ` [comments] MMC: " Andrei Warkentin
  0 siblings, 1 reply; 14+ messages in thread
From: Andrei Warkentin @ 2011-03-24 21:22 UTC (permalink / raw)
  To: linux-mmc

Hi group,

As part of enabling maximum-reliability (at cost of performance) workarounds for MMC media whose
controllers employ a scheme, where there is usually a small (flash-page sized) and a large (erase-block sized) buffer,
I needed reliable write support. As per Arnd's feedback, I've split the reliable write support out by itself. I believe
other people were going to look at this as well (https://wiki.linaro.org/WorkingGroups/KernelConsolidation/Specs/StoragePerfEMMC).

The patch provides a mechanism by which reliable writes can be enabled if they are supported, and enables them for REQ_FUA/REQ_META write transfers.
REQ_FUA/REQ_FLUSH is a replacement for barrier bios, which were broken before anyway (couldn't handle partial completions, which are what's
going to happen for legacy reliable write support). REQ_FUA is a flag a bio submitted from the filesystem and will make sure that I/O completion
for this request is only signaled after the data has been committed to non-volatile storage. REQ_META are supposed to be used by filesystems to
mark bios that contain metadata.

The patch is against linux-next and was tested with a Toshiba MMC08G (legacy reliable write support) eMMC on x64.

ToC:
[comments] MMC: Reliable write support.

Thanks ahead of time,
A

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

end of thread, other threads:[~2011-04-01  0:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 21:22 Reliable write support Andrei Warkentin
2011-03-24 21:22 ` [comments] MMC: " Andrei Warkentin
2011-03-25 15:14   ` Arnd Bergmann
2011-03-26  7:17     ` Andrei Warkentin
2011-03-26  7:22       ` Andrei Warkentin
2011-03-29  0:50     ` Andrei Warkentin
2011-03-29  7:01       ` Arnd Bergmann
2011-03-29 22:44         ` Andrei Warkentin
2011-03-30 12:05           ` Arnd Bergmann
2011-03-30 22:38             ` Chris Ball
2011-03-31 20:39               ` Andrei Warkentin
2011-03-31 20:58                 ` Chris Ball
2011-03-31 23:40               ` [PATCH] " Andrei Warkentin
2011-04-01  0:47                 ` Chris Ball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox