Re: [patch] Move nodesize/leafsize/sectorsize to fs_info

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

 



On 10/26/2011 06:27 PM, Chris Mason wrote:
On Wed, Oct 26, 2011 at 06:23:38PM +0200, David Sterba wrote:
On Wed, Oct 26, 2011 at 04:47:15PM +0200, Arne Jansen wrote:
The sizes get initialized to 4096, but after the super block is read,
these are replaced by those from the SB.

[reads sources again] right, and the initial values are not used up to
that point, so 4096 could be any number.

It was indeed meant to get rid of the possibility to have different
sizes for different trees, as it just adds complexity. Chris mentioned
once that he does not intend to allow different sizes between trees,
thus the idea for this cleanup.

Ok then. I'll gather it to cleanup patch queue.

Thanks, I actually don't intend to allow different leaf and node sizes
anymore either, but we might as well keep both numbers.

So that would be another good cleanup, as it is not always easy to tell
if a block is a node or a leaf. It would actually simplify things.

-Arne


-chris

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