]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- If present, take advantage of the R/W cache of eMMC revision 1.5 and
authormarius <marius@FreeBSD.org>
Tue, 15 May 2018 21:15:09 +0000 (21:15 +0000)
committermarius <marius@FreeBSD.org>
Tue, 15 May 2018 21:15:09 +0000 (21:15 +0000)
commit9fcfef67f1775bc5a8e277d1b933f5b9635ae895
treeaaa5b465216f6fa9e815879ffefee935bc6a5adb
parentc2e7c0202f6c12e93a71daee4bcb4d3347c3c9f6
- If present, take advantage of the R/W cache of eMMC revision 1.5 and
  later devices. These caches work akin to the ones found in HDDs/SSDs
  that ada(4)/da(4) also enable if existent, but likewise increase the
  likelihood of data loss in case of a sudden power outage etc. On the
  other hand, write performance is up to twice as high for e. g. 1 GiB
  files depending on the actual chip and transfer mode employed.
  For maximum data integrity, the usage of eMMC caches can be disabled
  via the hw.mmcsd.cache tunable.
- Get rid of the NOP mmcsd_open().
sys/dev/mmc/mmcreg.h
sys/dev/mmc/mmcsd.c