On Wed 21-10-20 10:25:14, harshad shirwadkar wrote: > > BTW, how is EXT4_FC_TAG_CREAT different from EXT4_FC_TAG_LINK? It seems > > like they describe essentially the same operation? > In the replay path, creat has to do certain things that link doesn't. > For example, "creat" needs to mark the inode as used in the bitmap and > also if it's a directory that's being created, it needs to initialize > the "." and ".." dirents in the directory. That's why we need > different tags. Aha, OK, makes sence. Thanks for explanation. BTW it would be good to have some documentation (or at least examples) how a sequence of system calls translates to fastcommit log entries and then how these are replayed in case of crash. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR