Re: ext3_inode_info i_datasync_tid field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 10, 2010 at 10:27 AM, Onkar Mahajan <kern.devel@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux