You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sm idle-maint run返回只表示触发请求已返回。GUI、自动 trim 日志和 MCP 说明现在明确区分请求返回与客体回收完成;CLI 原有“已触发磁盘回收”保持不变,异步行为、返回字段和退出码不变。Refs ModAVD/ModAVD#95
只处理“trim 真正跑完的时机”这一项,#95 其它子项未处理。
改动
scripts/measure_trim.py记录命令发出、返回与往返耗时;直接 sm 另有客体 uptime 边界。按 mountinfo 和 sysfs slaves 确认/data设备,保存 vold、dmesg 和设备 discard 采样。/data开始与明确成功返回日志才报告observed_fitrim_return。明确失败单列,缺失或歧义为unknown。计数稳定、sm 退出 0、维护线程结束均不能单独证明完成。main,system。报告目录字段只保留名称,通用文档提醒原始命令输出和 dmesg 仍须公开前检查。实机结果与限制
Windows 11 / WHPX / Android 14,已有正式 v0.37.1,独立物理复制的 SDK、新建测试实例 0,4 GiB / 4 核 / 16 GiB / 720p 无头、无执行桥,27400–27499 端口段。原包 ZIP 哈希和根内 308 个清单文件核对通过。只使用已有正式包、管理器源码和 adb,未下载或同步 AOSP。
/data为dm-40 (254:40),其唯一 slave 是vdc (253:32),两层 discard 上限及计数为 0。修正后五轮各 100 次采样,两个工作量场景均在专用目录实际写入并删除 128 MiB,进行 fsync/sync。直接 sm 的工作量、空闲重复两轮分别往返 0.200341、0.225976、0.209869 秒,均退出 0,但 vold 明确报告不支持;CLI 的工作量、空闲场景分别为 0.205846、0.187964 秒,均在能力检查时退出 4。本包仅切换 logcat 缓冲区仍会出现内核读取权限错误,经 su 读取后五轮原始日志均无该错误;实际无头 qemu 哈希匹配发版清单。采样期间只运行本任务 trim,没有 compact、安装、换包或关机;结束后专用实例与私有 adb server 已正常停止。
没有成功 discard 的实机验证或完成耗时。 成功日志分支仍只有合成夹具测试,需要支持 discard 的正式环境补跑工作量和空闲重复。不能用本次结果证明成功 discard 与命令返回的先后关系或宿主文件缩小。
验证
TestUpdateTitleAndApplied、TestPruneLogDirPerInstance、TestSetWindowVisibleNotRunning,第二轮TestCreateProgressOnDisk,均在 TempDir 退出清理时报 Windows“目录不是空的”。重复与定向复测结果保留在原审查记录;本轮没有修改这些路径,也不将原全量写成通过。dc6501a。