Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Anton Salikhmetov
2008/1/12, Peter Zijlstra <[EMAIL PROTECTED]>: > > On Sat, 2008-01-12 at 15:38 +0300, Anton Salikhmetov wrote: > > 2008/1/12, Peter Zijlstra <[EMAIL PROTECTED]>: > > > > > > On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: > > > > On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote:

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Peter Zijlstra
On Sat, 2008-01-12 at 15:38 +0300, Anton Salikhmetov wrote: > 2008/1/12, Peter Zijlstra <[EMAIL PROTECTED]>: > > > > On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: > > > On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: > > > > > > > +/* > > > > + * Update the ctime and mtime s

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Anton Salikhmetov
2008/1/12, Peter Zijlstra <[EMAIL PROTECTED]>: > > On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: > > On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: > > > > > +/* > > > + * Update the ctime and mtime stamps after checking if they are to be > > > updated. > > > + */ > > > +vo

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Anton Salikhmetov
2008/1/12, Peter Zijlstra <[EMAIL PROTECTED]>: > > On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: > > > +/* > > + * Update the ctime and mtime stamps after checking if they are to be > > updated. > > + */ > > +void mapped_file_update_time(struct file *file) > > +{ > > + if (test_a

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Peter Zijlstra
On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: > On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: > > > +/* > > + * Update the ctime and mtime stamps after checking if they are to be > > updated. > > + */ > > +void mapped_file_update_time(struct file *file) > > +{ > > + if

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Peter Zijlstra
On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: > +/* > + * Update the ctime and mtime stamps after checking if they are to be > updated. > + */ > +void mapped_file_update_time(struct file *file) > +{ > + if (test_and_clear_bit(AS_MCTIME, &file->f_mapping->flags)) { > +

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Anton Salikhmetov
2008/1/11, Peter Staubach <[EMAIL PROTECTED]>: > Anton Salikhmetov wrote: > > From: Anton Salikhmetov <[EMAIL PROTECTED]> > > > > The patch contains changes for updating the ctime and mtime fields for > > memory mapped files: > > > > 1) adding a new flag triggering update of the inode data; > > 2)

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Anton Salikhmetov
2008/1/12, Peter Staubach <[EMAIL PROTECTED]>: > Anton Salikhmetov wrote: > > 2008/1/11, Peter Staubach <[EMAIL PROTECTED]>: > > > >> Anton Salikhmetov wrote: > >> > >>> From: Anton Salikhmetov <[EMAIL PROTECTED]> > >>> > >>> The patch contains changes for updating the ctime and mtime fields for >

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Peter Staubach
Anton Salikhmetov wrote: 2008/1/11, Peter Staubach <[EMAIL PROTECTED]>: Anton Salikhmetov wrote: From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Anton Salikhmetov
2008/1/11, Peter Staubach <[EMAIL PROTECTED]>: > Anton Salikhmetov wrote: > > From: Anton Salikhmetov <[EMAIL PROTECTED]> > > > > The patch contains changes for updating the ctime and mtime fields for > > memory mapped files: > > > > 1) adding a new flag triggering update of the inode data; > > 2)

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Anton Salikhmetov
2008/1/11, Peter Staubach <[EMAIL PROTECTED]>: > Anton Salikhmetov wrote: > > From: Anton Salikhmetov <[EMAIL PROTECTED]> > > > > The patch contains changes for updating the ctime and mtime fields for > > memory mapped files: > > > > 1) adding a new flag triggering update of the inode data; > > 2)

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Peter Staubach
Anton Salikhmetov wrote: From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode data; 2) implementing a helper function for checking that flag and updating ctime

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Peter Staubach
Anton Salikhmetov wrote: From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode data; 2) implementing a helper function for checking that flag and updating ctime

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-11 Thread Rik van Riel
On Fri, 11 Jan 2008 03:38:49 +0300 Anton Salikhmetov <[EMAIL PROTECTED]> wrote: > From: Anton Salikhmetov <[EMAIL PROTECTED]> > > The patch contains changes for updating the ctime and mtime fields for memory > mapped files: > > 1) adding a new flag triggering update of the inode data; > 2) impl

[PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-10 Thread Anton Salikhmetov
From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode data; 2) implementing a helper function for checking that flag and updating ctime and mtime; 3) updating ti

[PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-10 Thread Anton Salikhmetov
From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode data; 2) implementing a helper function for checking that flag and updating ctime and mtime; 3) updating ti