[lxc-devel] [lxc/lxc] 6e0fa6: bdev: be smarter about btrfs subvolume detection
GitHub
noreply at github.com
Sat Aug 13 02:01:32 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 6e0fa6a0c65eda9c6586baebbfdfc82cc7c7ebe6
https://github.com/lxc/lxc/commit/6e0fa6a0c65eda9c6586baebbfdfc82cc7c7ebe6
Author: Christian Brauner <cbrauner at suse.de>
Date: 2016-08-13 (Sat, 13 Aug 2016)
Changed paths:
M src/lxc/bdev/lxcbtrfs.c
M src/lxc/bdev/lxcbtrfs.h
M src/lxc/lxccontainer.c
Log Message:
-----------
bdev: be smarter about btrfs subvolume detection
When a container c is on a btrfs filesystem but is directory backed, copying
the container will default to snapshot. This is because of
should_default_to_snapshot() returning true in this case because c is on a
btrfs filesystem. We should make sure that should_default_to_snapshot() only
returns true, when c itself is a btrfs subvolume.
Signed-off-by: Christian Brauner <cbrauner at suse.de>
Commit: cf5a3f44048bd8034641c854c6d8625b62532762
https://github.com/lxc/lxc/commit/cf5a3f44048bd8034641c854c6d8625b62532762
Author: Serge Hallyn <serge at hallyn.com>
Date: 2016-08-12 (Fri, 12 Aug 2016)
Changed paths:
M src/lxc/bdev/lxcbtrfs.c
M src/lxc/bdev/lxcbtrfs.h
M src/lxc/lxccontainer.c
Log Message:
-----------
Merge pull request #1125 from brauner/2016-08-12/smarter_btrfs_subvol_detection
bdev: be smarter about btrfs subvolume detection
Compare: https://github.com/lxc/lxc/compare/121e90aa9e9f...cf5a3f44048b
More information about the lxc-devel
mailing list