No description
Find a file
Daniel Zheng c60d2fc566 libsnapshot: chunk iov writes
Currently if our iov that we are trying to write is greater than 1024
our write will fail with error "INVALID ARGUMENT". This is because
pwritev() system call takes a max input size of IOV_MAX (which is device
dependant).

With our increased cache size of 1mb or maybe even more (or if user
configures batch size to be large), our write size could be greater than
IOV_MAX, and will fail with an unhelpful error. We should chunk these
writes to ensure they succeed.

Bug: 322279333
Test: cow_api_test + manual testing with large iov write sizes
Change-Id: Ia1fb53cbfc743cfcdfc7256ff9df075ad0c2dd38
2024-03-21 10:52:37 -07:00
bootstat Remove unused addKernelPanicSubReason() return value. 2024-02-07 22:22:13 +00:00
cli-test
code_coverage
debuggerd Merge "[MTE] Implement permissive (recoverable) MTE for apps" into main 2024-03-19 19:06:13 +00:00
diagnose_usb
fastboot Merge "fastboot: Increase maximum usbfs bulk size for writes to 256KiB" into main 2024-02-15 03:47:49 +00:00
fs_mgr libsnapshot: chunk iov writes 2024-03-21 10:52:37 -07:00
gatekeeperd
healthd Revert "healthd: BatteryMonitor: doLogValues: reduce log level to debug" 2024-02-15 19:28:02 +00:00
include
init Add missing header. 2024-03-15 06:44:39 +00:00
janitors Hang up narayan's janitor overalls. 2023-12-14 17:47:24 +00:00
libappfuse
libasyncio
libcrypto_utils
libcutils Merge "Merge Android 14 QPR2 to AOSP main" into main 2024-03-07 06:10:51 +00:00
libgrallocusage
libkeyutils
libmodprobe toolbox/libmodprobe: add toolbox to vendor_ramdisk 2024-03-18 17:35:26 +09:00
libnetutils
libpackagelistparser
libprocessgroup Merge "Add test mapping" into main 2024-02-08 18:30:25 +00:00
libsparse
libstats Merge "Replace lazy_static with once_cell" into main 2024-02-09 15:41:46 +00:00
libsuspend
libsync
libsystem
libsysutils
libusbhost
libutils Reduce <CallStack.h> namespace pollution. 2024-02-23 00:46:16 +00:00
libvendorsupport Avoid duplicated definition in llndk-versioning.h 2024-03-19 16:42:26 +09:00
libvndksupport try llndk-deprecate 2023-12-21 02:09:14 +00:00
llkd
mini_keyctl
mkbootfs
property_service Make apex availability of libpropertyinfoparser and libpropertyinfoparser explicit 2024-01-04 01:34:40 +00:00
reboot
rootdir Merge "Create directory for /data/misc/connectivityblobdb" into main 2024-03-20 20:27:18 +00:00
run-as
sdcard
shell_and_utilities
storaged Update storaged to use Health AIDL HAL V3. 2023-12-11 11:59:23 -08:00
toolbox toolbox/libmodprobe: add toolbox to vendor_ramdisk 2024-03-18 17:35:26 +09:00
trusty trusty: rpmb_dev: Use socket from init and update init script 2024-03-19 20:02:34 +00:00
usbd
watchdogd
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk
METADATA
MODULE_LICENSE_APACHE2
OWNERS
PREUPLOAD.cfg
rustfmt.toml