Re: [PATCH V2] Btrfs-progs: Do not force mixed block group creation unless '-M' option is specified

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

 



On Thursday 15 Oct 2015 09:48:33 Qu Wenruo wrote:
> The mount failure also remind me about btrfs minimal size check.
> 
> Mkfs has its device check against nodesize by btrfs_min_dev_size() function.
> So this also means currect btrfs_min_dev_size() check is not good enough.
> 
> 
> Current code uses a quite simple one,
> 2 *(MKFS_SYSTEM_BLOCK_GROUP_SIZE + leaf_size << 10).
> But it still fails to be mounted.
> 
> Although not related to your patch, do you have any good calculation on
> the minimum device size?
>
Qu, Thanks for pointing this out. I missed out on this one. Currently I
have not got any numbers on arriving at a minimum device size. Will work on
that and post the results.

-- 
chandan

--
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