Required help for understanding ext4 block allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to understand the block allocation in ext4 file sytem, I
have gone through all basic theory and browsing code to do it.

I am writing a module in which i got ext4 on disk inode, now according
to theory first 12 bytes of i_block points to ext4_extent_header, so
can i use this array of i_block[EXT4_N_BLOCKS].

Means how to fill objects of  struct ext4_extent_header (using first
12 byte of i_block) and  struct ext4_extent (using reminder bytes of
i_block).


-- 
Regards,
Akshay Nehe.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux