Re: [PATCH] fuse: Don't do file_update_time for write_operation.

2013-05-02 Thread Miklos Szeredi
On Fri, Mar 29, 2013 at 4:02 AM, majianpeng wrote: > For direct-write and normal-write operations, after write they will call > fuse_invalidate_attr. > So it's make no sense to call file_update_time before writing. > > In function file_update_time, there is other thing which update version of >

Re: [PATCH] fuse: Don't do file_update_time for write_operation.

2013-05-02 Thread Miklos Szeredi
On Fri, Mar 29, 2013 at 4:02 AM, majianpeng majianp...@gmail.com wrote: For direct-write and normal-write operations, after write they will call fuse_invalidate_attr. So it's make no sense to call file_update_time before writing. In function file_update_time, there is other thing which

[PATCH] fuse: Don't do file_update_time for write_operation.

2013-03-28 Thread majianpeng
For direct-write and normal-write operations, after write they will call fuse_invalidate_attr. So it's make no sense to call file_update_time before writing. In function file_update_time, there is other thing which update version of inode.For this i am not sure. Signed-off-by: Jianpeng Ma ---

[PATCH] fuse: Don't do file_update_time for write_operation.

2013-03-28 Thread majianpeng
For direct-write and normal-write operations, after write they will call fuse_invalidate_attr. So it's make no sense to call file_update_time before writing. In function file_update_time, there is other thing which update version of inode.For this i am not sure. Signed-off-by: Jianpeng Ma