public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael-John Turner <mj@mjturner.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: Directory mtime update issue (kernel 2.6.25)
Date: Wed, 18 Jun 2008 20:10:45 +0100	[thread overview]
Message-ID: <20080618191045.GA10722@aurora.pimp.org.za> (raw)
In-Reply-To: <20080618163356.GA6330@infradead.org>

On Wed, Jun 18, 2008 at 12:33:56PM -0400, Christoph Hellwig wrote:
> XFS does indeed updated the mtime too for the case when the source is
> a directory and we get a new parent but just the ctime in all other
> cases, which seems highly dubious to me.

Thanks for the prompt reply and the patch. I'm surprised this hasn't been
mentioned before as every other Unix filesystem I've used has not updated
the moved file's mtime during a rename(2). It's also odd that XFS only
changes the mtime when there's a new parent.

What does everyone else think? Would it be possible to have this patch or a
similar one committed upstream?

-mj
-- 
Michael-John Turner 
mj@mjturner.net      <>  http://mjturner.net/

  reply	other threads:[~2008-06-18 19:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 14:45 Directory mtime update issue (kernel 2.6.25) Michael-John Turner
2008-06-18 16:33 ` Christoph Hellwig
2008-06-18 19:10   ` Michael-John Turner [this message]
2008-06-19  8:21     ` Christoph Hellwig
2008-06-18 22:30   ` Michael-John Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080618191045.GA10722@aurora.pimp.org.za \
    --to=mj@mjturner.net \
    --cc=hch@infradead.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox