于 2013年12月15日 21:28, Jean-Pierre André 写道:
> Zorro Lang wrote:
>> 于 2013年12月15日 02:21, Jean-Pierre André 写道:
>>> Hi,
>>>>>
>>>>>
>>>> The ctime changed by linux VFS, so all linux local filesystem must 
>>>> update the ctime. But some fs with FUSE maybe update or not update 
>>>> the ctime.
>>>
>>> Actually not, I have checked again. Fuse does not
>>> call the file system when uid == gid == -1, so the
>>> file system cannot update the ctime.
>> Yeah, I have talked about it at previous email, the FUSE in kernel 
>> will not set the UID and GID attr flag bits when chown(-1,-1), then 
>> the FUSE fs maybe not call the real chown according the attr flag 
>> bits from kernel, so the ctime will not be changed.
>> But I think we can't say FUSE fs will never update the ctime when 
>> chown(-1, -1). The behavior of FUSE fs depend on their respective 
>> implement in userspace.
>> The glusterfs is a FUSE fs, and it update the ctime when I test in 
>> version "3.4.0.40rhs-2.el7.x86_64".
>>
>
> Actually this depends on the fuse interface you use.
> with chown(-1,-1), the low fuse interface calls the
> file system with no flags indicating anything to do,
> which the file system can interpret as updating the
> ctime nevertheless.
>
> But when using the high fuse interface, the fuse
> library makes no call at all when there is no flag set.
Yes, you are right, I know that. I think the high fuse interface which 
you mean is fuse, fuse-libs and fuse-devel-libs packages. The glusterfs 
not use the high interface, he use the low:)

Thank you,
Zorro Lang

>
> Regards
>
> Jean-Pierre
>
>


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to