On Tue, Feb 14, 2017 at 8:30 AM, Austin S. Hemmelgarn <ahferro...@gmail.com> wrote: > 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).
Huh, I can't reproduce this with 4.9.8 or 4.10rc7. systemd sets journal files with chattr +C, and I do manual snapshots of rootfs periodically, and those snapshots have journal files that have +C still set. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html