惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
博客园 - 聂微东
S
SegmentFault 最新的问题
量子位
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页

Phoronix

KDE Linux Prunes Its Insecure & Unused Software Linux 7.1-rc6 To Support The ASUS ROG RAIKIRI II & Nova 2 Lite Controllers Linux Might Finally Disable The Microsoft RNDIS Protocol Drivers In 2026 Wine-Staging 11.10 Fixes 14 Year Old Bug, Also Fixes Issue Of Some Games Being Too Dark Servo 0.2 Released With Revamped Android Browser UI Zrythm 2.0 Alpha Released For Rewriting The Digital Audio Workstation In C++ & Qt/QML Linux 7.1-rc6 To Hide The Documentation On "clearcpuid" Feature AV2 v1.0 Specification Released For Next-Gen Video Coding Various USB Quirks Merged Ahead Of Linux 7.1-rc6 Rust Coreutils 0.9 Released With Additional Security Hardening, Zero-Copy I/O NixOS 26.05 Released With 20,442 New Packages, Stage 1 Now Based On systemd By Default AMD Submits More Graphics Driver Changes For Linux 7.2 AMD Expands The Range Of Zen 6 CPUs Detected By The Linux Kernel G7 Agrees On Shared Language Around Open-Source AI, Open Weights AI GNOME Circle Takes Stand Against AI Slop, Resources App Makes It Into GNOME Incubator Plasma 6.6, 6.7 & 6.8 See Plenty Of Bug Fixing This Week Genode OS 26.05 Released, Finishes Moving From GitHub To Codeberg SteamOS 3.8.6 Beta Released With Initial Native Support For AMD HDMI VRR Ubuntu 26.10 Snapshot 1 Released For Testing Wine 11.10 Released With VKD3D 2.0, Improved VBScript Compatibility Fwupd 2.1.4 Brings Many Fixes For Bugs Spotted By Anthrophic's Mythos, Firmware Update Support For Intel Arc Pro B65/B70 AMD ROCm 7.2.4 Released With Performance & Stability Fixes CachyOS Delivers Lead Over Arch Linux, Pop!_OS & Ubuntu On System76 Thelio Major Linux Networking Still Seeing "Significantly Bigger" Pull Requests Due To AI Btrfs Change Coming For Linux 7.2 Yields Very Healthy Performance Gain Intel To Support DRM Background Color Property With Linux 7.2 Fedora 45 Considering Use Of PURL Metadata For Uniquely Identifying Software Packages Linux 7.2 To Bring Graphics Driver Fix For Old Integrated Graphics On Intel Sandy Bridge Radeon Software For Linux 26.12 Brings Ubuntu 26.04 Support Intel Sends Out Revised Linux Patches For Directed Package Thermal Interrupts
Linux 7.2 Can Significantly Lower Container Exit/Unmount ...
Written by Michael Larabel in Linux Storage on 16 June 2026 at 1 · 2026-06-16 · via Phoronix

LINUX STORAGE

A patch series merged for the Linux 7.2 kernel addresses a race condition that can occur when a container is exiting yielding "VFS: Busy inodes after unmount" messages and a possible user-after-free condition. But the patch series also goes further and delivers a very nice optimization to lower the container unmounting latency for environments with heavy I/O load.

Alibaba engineer Baokun Li tracked down the possible race condition when a container exits and addressed it with the now-merged patch. That portion of the work should also be back-ported to current Linux stable kernel series in the near future. What's most exciting though is the additional work that eliminates a global serialization penalty and can lead to much lower container exit/unmount latency.

Christian Brauner summed up the situation in this pull request that is now merged for Linux 7.2:

"Fix a race between cgroup_writeback_umount() and inode_switch_wbs()

When a container exits, a race between cgroup_writeback_umount() and inode_switch_wbs()/cleanup_offline_cgwb() can trigger "VFS: Busy inodes after unmount" followed by a use-after-free on percpu counters. There is a window between inode_prepare_wbs_switch() returning true (having passed the SB_ACTIVE check and grabbed the inode) and the subsequent wb_queue_isw() call: if cgroup_writeback_umount() observes the global isw_nr_in_flight counter as non-zero but flush_workqueue() finds nothing queued yet, it returns early - leaving a held inode reference that blocks evict_inodes() and a later iput() that hits freed percpu counters.

The race is closed by covering the window from inode_prepare_wbs_switch() through wb_queue_isw() with an RCU read-side critical section and synchronizing in the umount path. On top of that the now-dead rcu_barrier() left over from the queue_rcu_work() era is removed, and the global synchronize_rcu()/flush_workqueue() pair is replaced with a per-sb in-flight counter plus pin/unpin/drain helpers so umount no longer serializes against switch activity on unrelated superblocks.

Under cgroup writeback churn on a 16 vCPU guest this takes umount latency from ~92-138ms p50 down to ~5-8ms p50 and the cumulative cost of cgroup_writeback_umount() from ~62ms to ~4us per call. The initial race fix is kept separate and minimal so it backports cleanly to stable trees that still queue switches via queue_rcu_work()."

Quite a nice improvement for the unmount latency.

Linux 7.2 unmount latency benchmark

There are also additional benchmark numbers from this patch.

Linux 7.2 unmount latency benchmark

Separately, that same VFS pull request for Linux 7.2 also improves write performance when using the RWF_DONTCACHE flag. Those benchmark numbers and more details within this patch.