Re: [PATCH] splice: update mtime and atime on files

From: Willy Tarreau
Date: Tue Aug 18 2009 - 04:46:51 EST


On Tue, Aug 18, 2009 at 10:35:48AM +0200, Jens Axboe wrote:
> On Tue, Aug 18 2009, Willy Tarreau wrote:
> > On Sat, Aug 15, 2009 at 08:42:41AM +0200, Jens Axboe wrote:
> > > On Fri, Aug 14 2009, Miklos Szeredi wrote:
> > > > From: Miklos Szeredi <mszeredi@xxxxxxx>
> > > >
> > > > Splice should update the modification and access times on regular
> > > > files just like read and write. Not updating mtime will confuse
> > > > backup tools, etc...
> > > >
> > > > This patch only adds the time updates for regular files. For pipes
> > > > and other special files that splice touches the need for updating the
> > > > times is less clear. Let's discuss and fix that separately.
> > >
> > > Thanks Miklos, I've queued this one up.
> >
> > wouldn't it make sense to send that to stable too ? The patch is not
> > intrusive and looks like a fix to me.
>
> It doesn't really meet the stable criteria, as it's not a security issue
> nor does it crash the kernel.

Oh there are many other things which go to stable, especially bug
fixes and minor improvements. We *could* classify this in the bug
fixes as, I Miklos suggested it, this could have an impact on
modified files which would currently not be backed up for instance.

Regards,
Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/