lkml.org 
[lkml]   [2021]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/2] Do not flush cache when it is disabled
Date
v3 -> v4
- Attend Adrian's comments
- Add Acked-by tag

v2 -> v3:
- rebase onto recent cache changes

v1 -> v2:
- Attend Adrian's comments

Cache is a temporary storage space in an eMMC device. Volatile by
nature, the cache should in typical case reduce the access time compared
to an access to the main nonvolatile storage.

The cache function can be turned ON and OFF. Once OFF, the host is not
expected to issue a flush-cache command to the device.

Avri Altman (2):
mmc: block: Issue flush only if allowed
mmc: block: Update ext_csd.cache_ctrl if it was written

drivers/mmc/core/block.c | 21 +++++++++++++++++++++
drivers/mmc/core/mmc.c | 2 +-
drivers/mmc/core/mmc_ops.h | 5 +++++
3 files changed, 27 insertions(+), 1 deletion(-)

--
2.25.1

\
 
 \ /
  Last update: 2021-04-20 15:48    [W:0.140 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site