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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html