Page 1 of 1

relatime property unavailable?

PostPosted: Sun Feb 28, 2016 10:52 pm
by leeb
I noticed this in 1.4.5, but it still appears to be unchanged after installing the O3x-1011-signed-spl-12a3476-zfs-af351b2 package ilovezfs put up a month ago. According to the manpage (and OpenZFS in general, this went in back in 2014 at least) this should be an available property (modifying the behavior of atime=on). However, attempting
Code: Select all
zfs set relatime=on tank

fails with
Code: Select all
cannot set property for 'tank': invalid property 'relatime'

Seems like it should be pretty straight forward, am I somehow doing something wrong here? I don't see this is an issue on GitHub or searching in the forums, did I miss it? I've been used to using it in general under Linux at least when needed as a decent compromise since around when the discussion on it happened and it got added back in kernel 2.6.20. If it's not available under O3X yet then the ref in the manpage should be removed for the time being too.

Re: relatime property unavailable?

PostPosted: Mon Feb 29, 2016 5:24 pm
by lundman
relatime is a Linuxism we inherited from ZOL. Wasn't sure we wanted or needed it, so it was not ported fully. Have you found a situation where it would be useful?