[PATCH] Snapshot/subvolume listing feature

2009-11-15 Thread TARUISI Hiroaki
I made Snapshot/subvolume listing feature. This feature consists of two patches, for kernel(ioctl), and for progs(btrfsctl). I send these two patches as response of this mail soon. New option '-l' is introduced to btrfsctl for listing. If this option is specified, btrfsctl call new ioctl. New

Re: [PATCH] btrfs-progs: Check mount status of multidevice filesystems

2009-11-15 Thread Yan, Zheng
On Sun, Nov 15, 2009 at 2:44 AM, Andi Drebes lists-rece...@programmierforen.de wrote: Some programs like btrfsck should not be run on a mounted filesystem. This patch adds a check in btrfs_open_devices() for the mount status of every device belonging to the filesystem. The function

Re: [PATCH] Snapshot/subvolume listing feature

2009-11-15 Thread TARUISI Hiroaki
I'm sorry, I forgot Signed-off line. Please add this line. Signed-off-by: TARUISI Hiroaki taruishi.hir...@jp.fujitsu.com -- 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

kernel oops when btrfs-vol remove a device

2009-11-15 Thread Gong, Zhipeng
The kernel oops can be reproduced with these steps steadily: dd if=/dev/zero of=img0 bs=1k count=262144 dd if=/dev/zero of=img1 bs=1k count=262144 losetup /dev/loop0 img0 losetup /dev/loop1 img1 mkfs.btrfs -m raid0 /dev/loop0 /dev/loop1 mkdir