linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unstable atimes on empty dirs in read-only snapshots which were subvol parents
@ 2015-03-06  0:29 Paul Harvey
  2015-03-06  1:03 ` Paul Harvey
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Harvey @ 2015-03-06  0:29 UTC (permalink / raw)
  To: linux-btrfs

Hi there,

Apologies for not confirming on a much more recent kernel, if anyone
could please try my test script for me on a newer kernel that would be
very much appreciated.

I'm working on reproducible builds, and part of this workflow involves
tar archiving parts of read-only btrfs snapshots. Problem is, some of
these tar archives are different from run to run when they capture an
empty directory that happened to be a subvol parent on the original
FS: the atimes on these empty dirs are always returning the current
time - which is not the case with an ordinary empty directory created
with mkdir; it's also not the same behaviour on the original FS (tar
archives are reproducible if we use the original FS rather than the
read-only snapshot). This all happens regardless of mounting noatime.

Perhaps this verbiage is convoluted, I'm writing this in a hurry with
limited internet connectivity - I have a reproducible test case here
at https://gist.github.com/csirac2/c2b5b2b9d0193b3c08a8

Again, I understand this is a pretty old kernel and perhaps this is
fixed by now, I'll try a more recent kernel with more assertive bug
report next week if nobody has time to try out my test case.

Cheers

--
Paul Harvey

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-07  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06  0:29 unstable atimes on empty dirs in read-only snapshots which were subvol parents Paul Harvey
2015-03-06  1:03 ` Paul Harvey
2015-04-09 11:06   ` Liu Bo
2015-05-07  5:56     ` Paul Harvey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).