全部博文(48)
发布时间:2013-01-06 12:17:41
-->mkfs.c:main() -->open_ctree() -->open_ctree_fs_info() __open_ct......【阅读全文】
发布时间:2013-01-06 12:16:24
Reference#define INLINE_EXTENT_BUFFER_PAGES 16#define MAX_INLINE_EXTENT_BUFFER_SIZE (INLINE_EXTENT_BUFFER_PAGES * PAGE_CACHE_SIZE)struct extent_buffer { u64 start; //Indicates the start address of extent in RAM unsigned long len; // The length of extent in RAM unsigne......【阅读全文】
发布时间:2013-01-06 12:07:27
ReferenceCode documention **You need read this link first.**Btrfs get/set funcIn btrfs_read_locked_inode(), we can see below codes:inode_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item);inode->i_mode = btrfs_inode_mode(leaf, inode_item......【阅读全文】
发布时间:2013-01-06 12:05:11
Reference为什么文件存储要选用B+树这样的数据结构?Pre-wordsIt has been 3 months for me after grduated from DLNU. Recently, I came to 帝都Beijing for hunting a KERNEL relating job. Leaking of projects experences makes me unconfiendt. I made a determine that devote all my energies to submit a kernel patch. I rea......【阅读全文】
发布时间:2012-12-23 22:10:32
VFS的缩写是Virtual Filesystem Switch or Virtual file system.我觉得地一个比较实至名归。VFS在linux kernel当中是作为所有文件系统的抽象而存在的!他也是linux为什么能兼容众多fs的原因所在。结构Dentry是的,一直以来我都没有对dentry深入的理解。inode是目录和文件的统一抽象,可是VFS经常要执行diretory-specific operations, such as path name lookup. Path name lookup involves translating each component of a......【阅读全文】