login
Header Space

 
 

Re: [PATCH 1/2] i_version update - vfs part

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <jean-noel.cordenner@...>
Cc: <linux-ext4@...>, <linux-kernel@...>
Date: Thursday, October 25, 2007 - 5:05 pm

On Thu, 2007-10-25 at 19:04 +0200, Cordenner jean noel wrote:
Thanks for reposting it.


I wonder do we really need i_lock here for inode versioning update?

Understand this is a 64 bit counter, but file_update_time() and
ext4_mark_inode_dirty() (where the inode version is updated) is called
on the file write path so i_mutex should be hold all the time. As long
as the read patch holding i_mutex everything should be fine, isn't it?

Have you get a chance to check the performance impact to ext4?


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] i_version update - vfs part, Cordenner jean noel, (Fri Oct 5, 11:28 am)
Re: [PATCH 1/2] i_version update - vfs part, Cordenner jean noel, (Thu Oct 25, 1:04 pm)
Re: [PATCH 1/2] i_version update - vfs part, Mingming Cao, (Thu Oct 25, 5:05 pm)
Re: [PATCH 1/2] i_version update - vfs part, Jean noel Cordenner, (Tue Nov 20, 12:38 pm)
Re: [PATCH 1/2] i_version update - vfs part, Mingming Cao, (Fri Oct 5, 8:58 pm)
speck-geostationary