Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-05-11 Thread Josef Bacik
On Fri, May 11, 2012 at 09:06:31AM +0300, Kasatkin, Dmitry wrote: > On Thu, Apr 12, 2012 at 2:32 PM, David Sterba wrote: > > On Thu, Apr 12, 2012 at 02:09:08PM +0300, Kasatkin, Dmitry wrote: > >> Where is it? Can you please point out? > > > > http://permalink.gmane.org/gmane.comp.file-systems.btrf

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-05-10 Thread Kasatkin, Dmitry
On Thu, Apr 12, 2012 at 2:32 PM, David Sterba wrote: > On Thu, Apr 12, 2012 at 02:09:08PM +0300, Kasatkin, Dmitry wrote: >> Where is it? Can you please point out? > > http://permalink.gmane.org/gmane.comp.file-systems.btrfs/16662 > > the relevant part: > > -- a/fs/btrfs/super.c > +++ b/fs/btrfs/su

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-12 Thread Kasatkin, Dmitry
On Thu, Apr 12, 2012 at 2:32 PM, David Sterba wrote: > On Thu, Apr 12, 2012 at 02:09:08PM +0300, Kasatkin, Dmitry wrote: >> Where is it? Can you please point out? > > http://permalink.gmane.org/gmane.comp.file-systems.btrfs/16662 > > the relevant part: > > -- a/fs/btrfs/super.c > +++ b/fs/btrfs/su

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-12 Thread David Sterba
On Thu, Apr 12, 2012 at 02:09:08PM +0300, Kasatkin, Dmitry wrote: > Where is it? Can you please point out? http://permalink.gmane.org/gmane.comp.file-systems.btrfs/16662 the relevant part: -- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -770,7 +770,7 @@ static int btrfs_fill_super(struct super_b

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-12 Thread Kasatkin, Dmitry
On Tue, Apr 10, 2012 at 10:48 AM, David Sterba wrote: > On Mon, Apr 09, 2012 at 11:16:05AM -0400, J. Bruce Fields wrote: >> > Nobody yet, I'm going to send a patch shortly that will support this.   >> > Thanks, >> >> Great.  It would also be far preferable if it was just always on (at >> least by

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-10 Thread David Sterba
On Mon, Apr 09, 2012 at 11:16:05AM -0400, J. Bruce Fields wrote: > > Nobody yet, I'm going to send a patch shortly that will support this. > > Thanks, > > Great. It would also be far preferable if it was just always on (at > least by default) rather than requiring a mount option. [looks into J

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-09 Thread J. Bruce Fields
On Wed, Apr 04, 2012 at 02:16:22PM -0400, Josef Bacik wrote: > On Wed, Apr 04, 2012 at 09:12:57PM +0300, Kasatkin, Dmitry wrote: > > On Wed, Apr 4, 2012 at 8:47 PM, Mimi Zohar wrote: > > > On Wed, 2012-04-04 at 13:43 -0400, Josef Bacik wrote: > > >> On Wed, Apr 04, 2012 at 08:24:19PM +0300, Kasatk

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-04 Thread Kasatkin, Dmitry
On Wed, Apr 4, 2012 at 9:16 PM, Josef Bacik wrote: > On Wed, Apr 04, 2012 at 09:12:57PM +0300, Kasatkin, Dmitry wrote: >> On Wed, Apr 4, 2012 at 8:47 PM, Mimi Zohar wrote: >> > On Wed, 2012-04-04 at 13:43 -0400, Josef Bacik wrote: >> >> On Wed, Apr 04, 2012 at 08:24:19PM +0300, Kasatkin, Dmitry w

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-04 Thread Josef Bacik
On Wed, Apr 04, 2012 at 09:12:57PM +0300, Kasatkin, Dmitry wrote: > On Wed, Apr 4, 2012 at 8:47 PM, Mimi Zohar wrote: > > On Wed, 2012-04-04 at 13:43 -0400, Josef Bacik wrote: > >> On Wed, Apr 04, 2012 at 08:24:19PM +0300, Kasatkin, Dmitry wrote: > >> > Hello, > >> > > >> > Mimi and I working on I

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-04 Thread Kasatkin, Dmitry
On Wed, Apr 4, 2012 at 8:47 PM, Mimi Zohar wrote: > On Wed, 2012-04-04 at 13:43 -0400, Josef Bacik wrote: >> On Wed, Apr 04, 2012 at 08:24:19PM +0300, Kasatkin, Dmitry wrote: >> > Hello, >> > >> > Mimi and I working on IMA/EVM (security/integrity) and it uses >> > i_version for checking if file co

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-04 Thread Mimi Zohar
On Wed, 2012-04-04 at 13:43 -0400, Josef Bacik wrote: > On Wed, Apr 04, 2012 at 08:24:19PM +0300, Kasatkin, Dmitry wrote: > > Hello, > > > > Mimi and I working on IMA/EVM (security/integrity) and it uses > > i_version for checking if file content has been changed. > > extX file systems support i_v

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-04 Thread Josef Bacik
On Wed, Apr 04, 2012 at 08:24:19PM +0300, Kasatkin, Dmitry wrote: > Hello, > > Mimi and I working on IMA/EVM (security/integrity) and it uses > i_version for checking if file content has been changed. > extX file systems support i_version updates with mounting file system > with "iversion" option

Re: [RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-04-04 Thread Kasatkin, Dmitry
Hello, Mimi and I working on IMA/EVM (security/integrity) and it uses i_version for checking if file content has been changed. extX file systems support i_version updates with mounting file system with "iversion" option or via kernel command line parameter "i_version" It seems iversion option is

[RFC] [PATCH 2/2] Btrfs: move over to use ->update_time

2012-03-26 Thread Josef Bacik
Btrfs had been doing it's own file_update_time so we could catch ENOSPC properly, so just update our btrfs_update_time to work with the new stuff and then we'll be fancy later. Thanks, Signed-off-by: Josef Bacik --- fs/btrfs/ctree.h |1 - fs/btrfs/file.c |2 +- fs/btrfs/inode.c | 53