vfs.zfs.min_auto_ashift and OpenZFS

Ryan Moeller freqlabs at FreeBSD.org
Wed Sep 9 21:46:47 UTC 2020


On 9/9/20 5:40 PM, Slawa Olhovchenkov wrote:
> On Wed, Sep 09, 2020 at 11:55:14AM -0400, Ryan Moeller wrote:
>
>> On 9/8/20 4:31 PM, Niclas Zeising wrote:
>>> On 2020-05-02 02:20, Matthew Macy wrote:
>>>> OpenZFS doesn't have the same ashift optimization logic that FreeBSD
>>>> has. It's something that needs to be resolved before the code can be
>>>> integrated downstream.
>>> So currently all pools created with OpenZFS will use 512 bit
>>> alignment, at least if the underlying storage device uses 512bit
>>> sectors (which most drives tend to do)?
>>>
>>> If this is the case, it feels like a pessimisation.
>>>
>>> Regards
>>
>> The vdev ashift optimizations from FreeBSD were put in OpenZFS before
>> the import into base. That sysctl does work now.
> Ugly hack w/ geom_noop required again?


I believe you can do `-o ashift=` with zpool create/add now.


> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


More information about the freebsd-current mailing list