Page MenuHomeFreeBSD

Parallel zfs mounting
Needs ReviewPublic

Authored by jack_gandi.net on Thu, Feb 7, 10:12 AM.

Details

Reviewers
bapt
mav
avg
Summary

This patch implements parallel mounting for zfs filesystems. This was first implemented on Illumos and ported to ZOL. After asking on the zfs-devel mailing list it was suggested that I start with the ZOL patch because it would be easier to port.

Delphix has seen huge decrease in latency of the mount phase with this patch (see results here: https://github.com/openzfs/openzfs/commit/a3f0e2b569). Performance improvements measured at Gandi are on par with those at Delphix.

Mailing thread here: https://lists.freebsd.org/pipermail/zfs-devel/2019-February/000516.html

Porting Notes:

ZOL-commit: https://github.com/zfsonlinux/zfs/commit/a10d50f999511d304f910852c7825c70c9c9e303

Diff Detail

Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22372
Build 21542: arc lint + arc unit

Event Timeline

jack_gandi.net created this revision.Thu, Feb 7, 10:12 AM
jack_gandi.net edited the summary of this revision. (Show Details)Thu, Feb 7, 10:28 AM
kib edited reviewers, added: avg; removed: kib.Thu, Feb 7, 10:34 AM
kib added a subscriber: kib.

Some updates:

This feature is listed here: https://docs.google.com/spreadsheets/d/1CFapSYxA5QRFYy5k6ge3FutU7zbAWbaeGN2nKVXgxCI/edit#gid=0 as not yet implemented for FreeBSD.
As far as I understand, FreeBSD is planning to rebase on ZoL. If this is the case we will get this feature for free with ZoF, so depending on how soon the rebase will this patch may or may not be useful to merge.