What kernel level functions are called when we perform write in ext3 file system?
I have ext3 file system mounted and I am creating a file on it to understand how block groups are allocated. I want to know what functions are being called when I create/write a file. I know vfs_write is called and thereafter I am confused what all functions are called. (do_sync_write is mentioned but I am not sure if it's write). Specifically, I don't want my files to exceed 2 block groups (trying to limit the size. 1 BG contains ~32768 blocks which are of 4K size each). Also, I am new to system programming so any help or direction will be great.
I tried strace but that was of no help.
Last edited by yashgovin19; 06-08-2015 at 08:12 PM.