Re: exofs_file_fsync

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

 



On 06/01/2010 01:04 PM, Christoph Hellwig wrote:
> 
> The pages are written by vfs_fsync_range.  You need to make sure
> that the inode back, or if the datasync flag is set only changes
> to the inode require to find that data are written back.  That's
> basically a messy wording for you can skip dirtiness of timestamp
> updates if the datasync flag is set.
> 
> Note that your patch below is very wrong for this, as it does
> a lot of asynchronous activity if the datasync flag is not set.
> 

Thank you Christoph. Me smack me on the head. Got two unrelated
flags totally confused.

I'll be posting a fix. For the best of my knowledge all I need is
a synchronous call to sync_inode() which will in turn call
exofs_write_inode. The later takes care of all metadata an exofs inode has.
(No allocation bitmaps, no data nodes lists, etc...)

In a next patch I'll also fix the super-block shit. Testing ...

Boaz
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux