relatime property unavailable?

All your general support questions for OpenZFS on OS X.

relatime property unavailable?

Postby leeb » Sun Feb 28, 2016 10:52 pm

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.
leeb
 
Posts: 43
Joined: Thu May 15, 2014 12:10 pm

Re: relatime property unavailable?

Postby lundman » Mon Feb 29, 2016 5:24 pm

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?
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: No registered users and 10 guests