ZFS sync / ZIL clarification

Mark Felder feld at feld.me
Mon Jan 30 04:30:16 UTC 2012


I believe I was told something misleading a few weeks ago and I'd like to  
have this officially clarified.

NFS on ZFS is horrible unless you have sync = disabled. I was told this  
was effectively disabling the ZIL, which is of course naughty. Now I  
stumbled upon this tonight:


> Just for the archives... sync=disabled won't disable disable the zil, 
> it'll disable waiting for a disk-flush on fsync etc. With a battery 
> backed controller cache, those flushes should go to cache, and bepretty  
> mich free. You end up tossing away something for nothing.

Is this accurate?


More information about the freebsd-fs mailing list