Re: Questions about drive sector sizes

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

 



2017-01-28 11:03 GMT+03:00 Rich Gannon <rich@xxxxxxxxxxxxxx>:
> Hello Btrfs users and devs,
>
>
> I've gone searching through the mailing list dating back to 2014 or so and
> never found a positive answer - mostly "guesses" about as to the answer,
> albeit with good theories.  I have two separate questions I'm looking to
> have answered with the latest known facts, benchmarks, and anecdotes.
>
>
> 1. If a "raw" drive (no partitions) is formatted with Btrfs, will it
> correctly be aligned to 512 or 4k sectors with no additional flags?

AFAIK,
btrfs internally use memory page size as a base unit (4kb for x86), so
yes, it will be correctly aligned.

> 2. If question 1's answer is true, will drives of varying sector sizes (512
> and 4k) in the same array still be aligned correctly in single, raid0,
> raid1, raid5, etc. modes?

Same logic

> Thanks for your input,
>
> Rich
>
> --
> 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



-- 
Have a nice day,
Timofey.
--
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