public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* Required help for understanding ext4 block allocation
@ 2012-03-15 13:18 Akshay Nehe
  2012-03-16  9:18 ` Jan Kara
  0 siblings, 1 reply; 5+ messages in thread
From: Akshay Nehe @ 2012-03-15 13:18 UTC (permalink / raw)
  To: linux-ext4

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-22 15:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 13:18 Required help for understanding ext4 block allocation Akshay Nehe
2012-03-16  9:18 ` Jan Kara
2012-03-22 13:24   ` Akshay Nehe
2012-03-22 14:11     ` Jan Kara
2012-03-22 15:22       ` Akshay Nehe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox