Re: [PATCH 1/3] btrfs: Continue write in case of can_not_nocow

2016-02-26 Thread Chris Mason
On Fri, Feb 26, 2016 at 10:41:31AM +0500, Roman Mamedov wrote: > On Wed, 6 Jan 2016 19:00:17 +0800 > Zhao Lei wrote: > > > btrfs failed in xfstests btrfs/080 with -o nodatacow. > > > > Can be reproduced by following script: > > DEV=/dev/vdg > > MNT=/mnt/tmp > > > >

Re: [PATCH 1/3] btrfs: Continue write in case of can_not_nocow

2016-02-25 Thread Roman Mamedov
On Wed, 6 Jan 2016 19:00:17 +0800 Zhao Lei wrote: > btrfs failed in xfstests btrfs/080 with -o nodatacow. > > Can be reproduced by following script: > DEV=/dev/vdg > MNT=/mnt/tmp > > umount $DEV &>/dev/null > mkfs.btrfs -f $DEV > mount -o nodatacow $DEV $MNT >

[PATCH 1/3] btrfs: Continue write in case of can_not_nocow

2016-01-06 Thread Zhao Lei
btrfs failed in xfstests btrfs/080 with -o nodatacow. Can be reproduced by following script: DEV=/dev/vdg MNT=/mnt/tmp umount $DEV &>/dev/null mkfs.btrfs -f $DEV mount -o nodatacow $DEV $MNT dd if=/dev/zero of=$MNT/test bs=1 count=2048 & btrfs subvolume snapshot -r $MNT