bug: cannot delete an empty directory (the directory is NOT a subvolume)

2010-11-05 Thread redneb
I think this can be best explained by an example. Suppose that you have the following setup: mkfs.btrfs /dev/somedisk mount /dev/somedisk /mnt/btrfs mkdir /mnt/btrfs/aaa btrfs subvolume snapshot /mnt/btrfs /mnt/btrfs/aaa/bbb So /mnt/btrfs/aaa is a ordinary direct

File cloning across subvolumes with BTRFS_IOC_CLONE ioctl

2010-07-19 Thread redneb
It seems that the BTRFS_IOC_CLONE ioctl fails when trying to do a cross-subvolume clone of a file. Chris Mason suggested in the past ([1]) that this should be possible. Am I missing something? [1] http://kerneltrap.org/mailarchive/linux-btrfs/2010/6/10/6884911 -- To unsubscribe from this list:

bug (?) with statvfs call on a subvolume

2010-07-11 Thread redneb
I am trying to use EncFS in conjunction with btrfs and I ran into a weird situation which I think is caused by statvfs being called on a btrfs subvolume. In particular, when I do something like the following: statvfs("/mnt/btrfs-volume/some-subvolume") then all mounted FUSE file-systems