Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

vfs options for async and acls

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Joined
May 20, 2016
Messages
28
Hello,

I am looking for better information on vfs options for async IO and acls.

In the documentation for freenas 11.1, there are a two options for aio : aio_pthread and aio_fork. The first one seems to be gone in the latest freenas I installed yesterday. Can anyone explain the difference between the two and which one I should use in a mac/pc environment ?

In the same documentation, there are a bunch of options for acls : zfsacl, fake_acls and acl_xattr. Can zfsacl and acl_xattr be used together, which one should I use in a mac/pc environment ? Can anyone explain a little bit better than the official documentation what they are and what they do ?

Thank you,
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
7,288
Hello,

I am looking for better information on vfs options for async IO and acls.

In the documentation for freenas 11.1, there are a two options for aio : aio_pthread and aio_fork. The first one seems to be gone in the latest freenas I installed yesterday. Can anyone explain the difference between the two and which one I should use in a mac/pc environment ?

In the same documentation, there are a bunch of options for acls : zfsacl, fake_acls and acl_xattr. Can zfsacl and acl_xattr be used together, which one should I use in a mac/pc environment ? Can anyone explain a little bit better than the official documentation what they are and what they do ?

Thank you,
aio_pthread doesn't do anything on freebsd. There's no reason to enable aio vfs modules. Pthread-based AIO is now baked into samba, if you want to use it just adjust your aio read/write size. As far as ACLs go, use zfsacl. It's your only option. There's no reason to use anything else.
 

seanm

Senior Member
Joined
Jun 11, 2018
Messages
514
aio_pthread doesn't do anything on freebsd. There's no reason to enable aio vfs modules. Pthread-based AIO is now baked into samba, if you want to use it just adjust your aio read/write size. As far as ACLs go, use zfsacl. It's your only option. There's no reason to use anything else.
Happy I found this thread. For others reading, this list of useless/obsolete options may be helpful: https://redmine.ixsystems.com/issues/58824
 
Top