Re: [PATCH] btrfs-progs: btrfs-convert: Allow setting nodesize

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

 



On Mon, 16 Mar 2015, David Sterba wrote:
> I think it's right, however I'm not sure if there are any guarantees
> about the range alignment. Btrfs should be fine with 4k (ie. sectorsize
> which is PAGE_SIZE) alignment for a node, but this could lead to some
> pathological layout and I'm not 100% sure the exact nodesize alignment
> is not required somewhere.

Ah, I didn't think of that. Yes, ext2_alloc_block_range can allocate
unaligned (with respect to nodesize) ranges.

I made a test with a conversion that resulted in unaligned blocks[], and
neither btrfs check nor scrub complained on the converted filesystem, but
I will do some research to find out whether blocks[] must be aligned or
not.

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