You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Devang 4a33456232
NetlinkManager: Increase netlink receive socket buffer to 128KB
Current buffer size is too small - vold can miss sdcard block device
uevent at the startup which result in card not being mounted until
user reinserts the tray.

An example for the Sony H8216 device:

  * 64KB buffer size
    * vold's /proc/net/netlink entry - 4 drops:
      0000000000000000 15 718 ffffffff 0 0 0 2 4 15066
    * 'sm list-volumes' output - sdcard isn't mounted:
      private mounted null
      emulated mounted null

  * 128KB buffer size
    * vold's /proc/net/netlink entry - no drops:
      0000000000000000 15 686 ffffffff 0 0 0 2 0 15225
    * 'sm list-volumes' output - sdcard is mounted:
      private mounted null
      public:179,1 mounted F08D-EA6A
      emulated mounted null

Bug: 111172932
Test: Manual - Insert SD card and see it is detected
Change-Id: Iaae8567bce52a957ad4241e53953ef3ff215961a
2 weeks ago
bench [LSC] Add LOCAL_LICENSE_KINDS to system/vold 2 years ago
binder/android/os Introduce target dirty segment ratio tunable parameter 10 months ago
fs Fix the group permissions of the sdcard root. 10 months ago
model vold: Accept Linux GPT partitions on external SD cards 10 months ago
tests Remove most of FDE support 2 years ago
.clang-format vold: use system-clang-format 4 years ago
Android.bp Android: Build exfatprogs & declare support of exFAT 2 weeks ago
AppFuseUtil.cpp AppFuseUtil: Call ForceUnmount before PrepareDir. 4 years ago
AppFuseUtil.h Extract AppFuse as a util 5 years ago
Benchmark.cpp vold: Use Wakelock::tryGet() 2 years ago
Benchmark.h clang-format many files. 5 years ago
BenchmarkGen.h Abort long-running benchmarks, report progress. 6 years ago
Checkpoint.cpp IdleMaint: use fstab_default from VoldUtil 3 years ago
Checkpoint.h Add an isCheckpointing() binder call for adb remount. 3 years ago
CleanSpec.mk Add an empty CleanSpec.mk 13 years ago
CryptoType.cpp Generalize CryptoType infrastructure 3 years ago
CryptoType.h Generalize CryptoType infrastructure 3 years ago
EncryptInplace.cpp Remove progress property support from encrypt_inplace() 1 year ago
EncryptInplace.h Remove progress property support from encrypt_inplace() 1 year ago
FileDeviceUtils.cpp Remove excess logging in secdiscard 4 years ago
FileDeviceUtils.h clang-format many files. 5 years ago
FsCrypt.cpp vold: Bring in more wrapped key changes 10 months ago
FsCrypt.h system: vold: Use wrapped key for metadata encryption 10 months ago
IdleMaint.cpp Introduce target dirty segment ratio tunable parameter 10 months ago
IdleMaint.h Introduce target dirty segment ratio tunable parameter 10 months ago
KeyBuffer.cpp clang-format many files. 5 years ago
KeyBuffer.h clang-format many files. 5 years ago
KeyStorage.cpp Android 13.0.0 Release 16 (TQ1A.221205.011) 6 months ago
KeyStorage.h Replace most references to Keymaster with Keystore 2 years ago
KeyUtil.cpp vold: Bring in more wrapped key changes 10 months ago
KeyUtil.h No using inside header files 2 years ago
Keystore.cpp Replace an outdated TODO in Keystore::exportKey 1 year ago
Keystore.h Detect factory reset and deleteAllKeys 2 years ago
Loop.cpp Remove vold logs related to block devices 2 years ago
Loop.h clang-format many files. 5 years ago
MetadataCrypt.cpp MetadataCrypt: Extend timeout for low performance device 2 weeks ago
MetadataCrypt.h Pre-create userdata metadata encryption device. 2 years ago
MoveStorage.cpp vold: Use Wakelock::tryGet() 2 years ago
MoveStorage.h clang-format many files. 5 years ago
NetlinkHandler.cpp vold: remove unused stop() methods 3 years ago
NetlinkHandler.h vold: remove unused stop() methods 3 years ago
NetlinkManager.cpp NetlinkManager: Increase netlink receive socket buffer to 128KB 2 weeks ago
NetlinkManager.h vold: remove unused stop() methods 3 years ago
OWNERS OWNERS: add alan and jeff, alphabetize 3 years ago
PREUPLOAD.cfg vold should be fully developed in AOSP. 5 years ago
Process.cpp Show names of processes killed by KillProcessesWithOpenFiles() 2 years ago
Process.h Only kill apps with storage app data isolation enabled 2 years ago
TEST_MAPPING Add vold to hwasan-postsubmit 1 year ago
Utils.cpp vold: add support for more filesystems for public storage 10 months ago
Utils.h FUSE-BPF: use both ro and persist properties 1 year ago
VoldNativeService.cpp Introduce target dirty segment ratio tunable parameter 10 months ago
VoldNativeService.h Introduce target dirty segment ratio tunable parameter 10 months ago
VoldNativeServiceValidation.cpp [vold] Check incremental paths before mounting 1 year ago
VoldNativeServiceValidation.h [vold] Check incremental paths before mounting 1 year ago
VoldUtil.cpp Move over to the C++ Fstab class 4 years ago
VoldUtil.h system: vold: Use wrapped key for metadata encryption 10 months ago
VolumeManager.cpp vold: Honor mount options for ext4/f2fs partitions 10 months ago
VolumeManager.h vold: Honor mount options for ext4/f2fs partitions 10 months ago
cryptfs.cpp Remove most of FDE support 2 years ago
cryptfs.h Remove CRYPT_FOOTER_OFFSET 2 years ago
main.cpp main: Log support for exfat/texfat FS driver names 2 weeks ago
secdiscard.cpp secdiscard: use F2FS_IOC_SEC_TRIM_FILE for secure discard 3 years ago
sehandle.h clang-format many files. 5 years ago
vdc.cpp vdc: remove FDE commands 1 year ago
vold.rc vold: Reboot if vold failure 2 years ago
vold_prepare_subdirs.cpp Create misc_ce and misc_de directories on /mnt/expand 1 year ago