ext3 中的日志 - 文档
我一直在寻找有关如何在 ext3 中实现日志记录的文档,但找不到任何好的资源。我熟悉 ext2 的内部结构,并且在 Linux 和 Minix 中经历过同样的实现。
您能否向我指出可以帮助我理解 ext3 中日志记录的实现的资源/代码片段?
I have been looking around for documentation on how journalling is implemented in ext3 and couldn't find any good resources. I am familiar with the internals of ext2 and have gone through the implementation of the same in Linux and Minix.
Could you point me towards resources/code snippets which could help me in understanding the implementation of journalling in ext3?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这并不完全是 Ext3 中日志记录的实际工作方式,但我发现有趣的初步工作:http://original.jamesthornton.com/hotlist/linux-filesystems/ext3-journal-design.pdf
这是上述论文作者关于 Ext3 的第一个演示之一: http://olstrans.sourceforge.net/release/OLS2000-ext3/ OLS2000-ext3.html
这一年来已经有了很多改进,但这两个链接将使您深入了解设计日志文件系统时的利害关系。
This is not exactly how the journaling in Ext3 works actually, but a preliminary work I find interesting : http://original.jamesthornton.com/hotlist/linux-filesystems/ext3-journal-design.pdf
And this is one of the first presentation about Ext3 done by the author of the aforementioned paper : http://olstrans.sourceforge.net/release/OLS2000-ext3/OLS2000-ext3.html
There's been a lot of improvement over the year, but these two links will give you a good insight of what is at stake when designing an journaled filesystem.