Re: [PATCH 3/3] btrfs-progs: avoid write to the disk before sure to create fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 07, 2013 at 08:11:25PM +0800, Anand Jain wrote:
> This patch provides fix for the following bug,
> 
> When mkfs.btrfs fails the disks shouldn't be written.
> ------------
> btrfs fi show /dev/sdb
> Label: none  uuid: 60fb76f4-3b4d-4632-a7da-6a44dea5573d
>         Total devices 1 FS bytes used 24.00KiB
>         devid    1 size 2.00GiB used 20.00MiB path /dev/sdb
> 
> mkfs.btrfs -dsingle -mraid1 /dev/sdb -f
> ::
> unable to create FS with metadata profile 16 (have 1 devices)
> 
> btrfs fi show /dev/sdb
> Label: none  uuid: 2da2179d-ecb1-4a4e-a44d-e7613a08c18d
>         Total devices 1 FS bytes used 24.00KiB
>         devid    1 size 2.00GiB used 20.00MiB path /dev/sdb
> -------------
> 
> Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>

This regresses making a filesystem that is forced to be a mixed block group.
Dave this is in your integration branch, can you please kick it out?  Anand if
I have to waste 30 more minutes bisecting your latest regression I'm going to
just start ignoring all of your patches.

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux