Guaranteeing The Metadata Update Atomicity In Ext4 File System

PROCEEDINGS OF THE 8TH ASIA-PACIFIC WORKSHOP ON SYSTEMS (APSYS '17)(2017)

引用 3|浏览10
暂无评分
摘要
In this paper, we address the issue of guaranteeing the atomicity of metadata update in a write() system call in EXT4 filesystem. Recent versions of EXT4 delay inserting the updated inode to the running journal transaction until the associated dirty pages are actually written to the disk. This is to avoid excessive fsync() overhead. While this approach effectively reduces the tail latency of fsync(), we found that it can incorrectly recover the file and it can expose the interim state of the inode to the application when the filesystem crashes unexpectedly. To address this problem, we propose Delayed Inode Update, DIU. Instead of separating the update of an inode and its insertion to the running transaction, we propose delaying the update until the associated inode is inserted into journal transaction. Delayed Inode Update is crafted not to entail any performance overhead nor does it increase the fsync() latency. With Delayed Inode Update, the average and the worst case latency of an fsync() decrease by 15% and 43% in a designated workload, respectively.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要