All of lore.kernel.org
 help / color / mirror / Atom feed
* Unexpected behavior involving file attributes and snapshots.
@ 2017-02-14 15:30 Austin S. Hemmelgarn
  2017-02-14 15:55 ` Roman Mamedov
  2017-02-14 16:07 ` Chris Murphy
  0 siblings, 2 replies; 5+ messages in thread
From: Austin S. Hemmelgarn @ 2017-02-14 15:30 UTC (permalink / raw)
  To: linux-btrfs

I was just experimenting with snapshots on 4.9.0, and came across some 
unexpected behavior.

The simple explanation is that if you snapshot a subvolume, any files in 
the subvolume that have the NOCOW attribute will not have that attribute 
in the snapshot.  Some further testing indicates that this is the only 
file attribute that isn't preserved (I checked all the chattr flags that 
BTRFS supports).

I'm kind of curious whether:
1. This is actually documented somewhere, as it's somewhat unexpected 
given that everything else is preserved when snapshotting.
2. This is intended behavior, or just happens to be a side effect of the 
implementation.

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

end of thread, other threads:[~2017-02-14 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14 15:30 Unexpected behavior involving file attributes and snapshots Austin S. Hemmelgarn
2017-02-14 15:55 ` Roman Mamedov
2017-02-14 16:07 ` Chris Murphy
2017-02-14 16:46   ` Austin S. Hemmelgarn
2017-02-14 17:52     ` Austin S. Hemmelgarn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.