What kernel level functions are called when we perform write in ext3 file system?

108 views Asked by At

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 GB contains ~32768 blocks which are of 4K size each). Also, I am new to system programming so any help or direction will be great.

0

There are 0 answers