Re: ext3_inode_info i_datasync_tid field

2010-12-17 Thread Manish Katiyar
On Fri, Dec 10, 2010 at 10:27 AM, Onkar Mahajan  wrote:
> What is the use of i_datasync_tid in the ext3_inode_info struct ?

Hi Onkar,

This seems to be in conjunction with the field i_sync_tid in the inode
structure. They are used to store the transaction id of the journal.
Depending on what system call you use fsync() or fdatasync() to flush
the contents of your file, it will use i_sync_tid or i_datasync_tid
and will commit the appropriate transaction to disk.


Hope that helps...
-- 
Thanks -
Manish
==
[$\*.^ -- I miss being one of them
==

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ



ext3_inode_info i_datasync_tid field

2010-12-10 Thread Onkar Mahajan
What is the use of i_datasync_tid in the ext3_inode_info struct ?

Regards,
Onkar