A few interesting ZFS related enhancement have made it's way into the OpenSolaris source the last week. First PSARC/2010/108 zil synchronicity was integrated which made it possible to control how writes are handled per ZFS dataset. Previously if you wanted to disable the ZIL and in practice disable synchronous writes in favor of speed you had to do it for the whole system. It can now be set per dataset and you also have the ability to force all writes to be synchronous. This can be particular useful for speeding up writes to temporary NFS shares since NFS writes are synchronous. This should however only be used if speed is more important than that the data is guaranteed to be safe on disk if something fails, even if ZFS always is consistent on disk all data might not have been written to disk before failure.
The second enhancements was in the scrub code, among many things it should now be more accurate when estimating the time for a scrub/resilver, resilver progress per disk and zpool should now remember when the last scrub was performed even after reboot. Here is a more complete list of these changes.
The ZIL synchonicity enhanchements where made possibly thanks to fellow blogger Robert Milkowski, good work!
The sudden death and eternal life of Solaris
3 months ago