Bug 236074 - zfs mount -a fails to mount lots of filesystems
Summary: zfs mount -a fails to mount lots of filesystems
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-27 06:10 UTC by Yuichiro NAITO
Modified: 2019-02-27 08:23 UTC (History)
0 users

See Also:


Attachments
libzfs.patch (530 bytes, patch)
2019-02-27 06:10 UTC, Yuichiro NAITO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuichiro NAITO 2019-02-27 06:10:27 UTC
Created attachment 202401 [details]
libzfs.patch

r344569 introduced parallel mounting but it was miss-imported from ZoL.

Zfs filesystems are sorted by mount point name but the comparison function
returns same value even if two mount point names are different length.

The attatched `libzfs.patch` solves this problem.
Please apply to src tree.
Comment 1 Yuichiro NAITO 2019-02-27 08:23:53 UTC
Fixed by r344618.
I'll close this PR.