Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-09 Thread Ryan Moeller
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

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-09 Thread Slawa Olhovchenkov
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

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-09 Thread Niclas Zeising
On 2020-09-09 17:55, 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

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-09 Thread Ryan Moeller
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

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-08 Thread Niclas Zeising
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

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-06 Thread Ed Maste
On Sun, 6 Sep 2020 at 22:26, Matthew Macy wrote: > > This long since been fixed. Note that Ryan built working installer images > during the CFT. Yep, thanks for the note and sorry for the false alarm; it was a local issue and I've closed the PR. ___

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-06 Thread Matthew Macy
On Sun, Sep 6, 2020 at 17:08 Ed Maste wrote: > On Fri, 1 May 2020 at 20: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. > > > > Note

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-09-06 Thread Ed Maste
On Fri, 1 May 2020 at 20: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. Note that our installer tries to set the min_auto_ashift when ZFS is selected

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-05-01 Thread Matthew Macy
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. -M On Fri, May 1, 2020 at 11:04 AM Graham Perrin wrote: > > In my sysctl.conf: > > vfs.zfs.min_auto_ashift=12 > > – if I recall

Re: vfs.zfs.min_auto_ashift and OpenZFS

2020-05-01 Thread Steven Hartland
Looks like it should still be there if your using the in tree ZFS: https://svnweb.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c?revision=358333=markup#l144 On 01/05/2020 19:03, Graham Perrin wrote: In my sysctl.conf: vfs.zfs.min_auto_ashift=12 – if I recall

vfs.zfs.min_auto_ashift and OpenZFS

2020-05-01 Thread Graham Perrin
In my sysctl.conf: vfs.zfs.min_auto_ashift=12 – if I recall correctly, the line was written automatically when I installed FreeBSD-CURRENT a year or so ago. With OpenZFS enabled: root@momh167-gjp4-8570p:~ # sysctl vfs.zfs.min_auto_ashift sysctl: unknown oid 'vfs.zfs.min_auto_ashift' Should