Re: cross-fs copy support

2018-10-01 Thread Joshi
ng. I was trying this sort of copy among files residing on btrfs, ext4, and xfs. Although vfs_copy_file_range internally uses clone_file_range (which would be true for btrfs and xfs). On Mon, Oct 1, 2018 at 8:18 PM Qu Wenruo wrote: > > > > On 2018/10/1 下午10:32, Joshi wrote: > > I w

cross-fs copy support

2018-10-01 Thread Joshi
for a single file (1G size), with no data mismatch, and faster speed than regular copy. -- Joshi

List of devices added to a btrfs file system

2009-11-07 Thread Prasad Joshi
Hi All, I want to know the list of devices added to a mounted btrfs file system. I could not figure out how to find the list. I created file system on 2 devices. Now I could mount the file system using any device. $ mkfs.btrfs /dev/sdb /dev/sdc $ mount -t btrfs /dev/sdb /mnt $ umount /mnt $ mo

Re: Errors in btrfsck after converting ext2 FS to btrfs.

2009-10-19 Thread Prasad Joshi
On Mon, Oct 19, 2009 at 7:56 AM, Yan, Zheng wrote: > On Sun, Oct 18, 2009 at 10:35 PM, Prasad Joshi > wrote: >> Hi, >> >> I tried using the btrfs-convert utility to convert the ext2 fs to >> btrfs. After the conversion was over, just to verify the correctness >&

Errors in btrfsck after converting ext2 FS to btrfs.

2009-10-18 Thread Prasad Joshi
Hi, I tried using the btrfs-convert utility to convert the ext2 fs to btrfs. After the conversion was over, just to verify the correctness of operation, ran btrfsck on the device. It showed errors 800. I am not sure what does it mean, so thought of repoting it on mailing list. # btrfsck /dev/sdb

[PATCH] btrfs-progs: Corrected return values from btrfsctl.c

2009-10-17 Thread Prasad Joshi
btrfsctl.c should return 0 if ioctl succeeds Signed-off-by: Prasad Joshi --- diff --git a/btrfsctl.c b/btrfsctl.c index 66c4e89..d602fc4 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -232,8 +232,8 @@ int main(int ac, char **av) } printf("%s\n", BTRFS_BUILD_VERSION);