首页> 外文会议>IEEE International Conference on Networking, Architecture, and Storage >sJournal: A New Design of Journaling for File Systems to Provide Crash Consistency
【24h】

sJournal: A New Design of Journaling for File Systems to Provide Crash Consistency

机译:Sjournal:用于文件系统的新设计,以提供崩溃一致性

获取原文

摘要

Maintain consistency is one of the major challenges faced by modern file systems in the presence of system crashes. File systems have evolved various techniques to provide crash consistency, in which journaling technique is one of the most important. Unfortunately, journaling introduces a write-twice problem: the write traffic is firstly written to the journal space, and latter is written back to the file system space. This problem is critical when version consistency is required in data management applications. To address this problem, we present sJournal, a smart journaling layer which can provide version consistency to the upper file systems efficiently. The key idea of sJournal is to understand the block I/O traffic issued from upper file systems, and redirect the I/O traffic between the journal space and the file system space intelligently. This includes four techniques: 1) detect the upper file system and extract the disk block allocation status, 2) identify and log all the overwrite traffic to the journal space while issuing non-overwrite traffic to the file system space directly, 3) redirect read traffic to the journal space if the target block is logged, 4) checkpoint all the logged data to the file system space at proper timing. We implemented a prototype of sJournal, and incorporated it with Ext3. Through experiments, we compared the performance of Ext3 running with ordered mode, data journal mode and sJournal, respectively. The results show that Ext3 with sJournal support can provide comparable performance to ordered journal mode, while ensuring the version consistency guaranteed in data journal mode.
机译:保持一致性是现代文件系统在系统崩溃的情况下面临的主要挑战之一。文件系统已经进化了各种技术来提供崩溃一致性,其中记录技术是最重要的一致性。不幸的是,日记引入了写作两次问题:首先写入日志空间的写入流量,后者写回文件系统空间。当数据管理应用程序中需要版本一致性时,此问题至关重要。为了解决这个问题,我们呈现Sjournal,一个智能日记层,可以有效地为上文件系统提供版本一致性。 Sjourlal的关键概念是了解从上部文件系统发出的块I / O流量,并智能地重定向期刊空间和文件系统空间之间的I / O流量。这包括四种技术:1)检测上文件系统并提取磁盘块分配状态,2)将所有覆盖流量识别并将所有覆盖流量识别到日记空间,同时直接向文件系统空间发出非覆盖流量,3)重定向读取如果目标块被记录,4)将所有记录的数据检查到文件系统空间的正确定时。我们实施了Sjournal的原型,并用Ext3注入了它。通过实验,我们将Ext3运行的性能分别与有序模式,数据期刊模式和Sjourlal进行了比较。结果表明,具有Sjournal支持的Ext3可以为有序日记模式提供可比性的性能,同时确保在数据日志模式下保证的版本一致性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号