sdm710-common: fstab: data=journal,commit=1 for /metadata

Since Ext4 doesn't implement "-o sync", it commits metadata at every 5 secs.
This may cause /metadata corruption.

Bug: 162883014
Change-Id: Icd38754bad1b1529d01165ea8c703c214d20bb4b
This commit is contained in:
Randall Huang 2023-03-05 00:37:36 +06:00 committed by CakesTwix
parent e4fb9c52d3
commit 20869d2170
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825
2 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,7 @@ vendor /vendor
odm /odm ext4 ro,barrier=1,discard wait,logical,first_stage_mount
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/by-name/logdump /metadata ext4 nosuid,nodev,noatime,discard wait,check,formattable,first_stage_mount
/dev/block/by-name/logdump /metadata ext4 nosuid,nodev,noatime,discard,data=journal,commit=1 wait,check,formattable,first_stage_mount
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,discard,lazytime latemount,wait,check,fileencryption=ice,reservedsize=128M
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,noatime,nodev,barrier=1 wait
/devices/platform/soc/8804000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer

View file

@ -302,7 +302,8 @@ PRODUCT_PACKAGES += \
libOmxQcelp13Enc \
libOmxVdec \
libOmxVenc \
libstagefrighthw
libstagefrighthw \
libstagefright_omx.vendor
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \