Mounting zfs filesystems on startup shows incorrect data
It seems we are incrementing sms->sm_done twice in share_mount_one_cb() -> report_mount_progress() in usr/src/cmd/zfs/zfs_main.c, so
a) header is never set (current == 2) initially
b) sometimes we see figures like (35/34).
Updated by Electric Monk 7 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 247b7da039fd88350c50e3d7fef15bdab6bef215 Author: Alexander Pyhalov <firstname.lastname@example.org> Date: 2019-01-11T06:14:24.000Z 10205 Mounting zfs filesystems on startup shows incorrect data Reviewed by: Andy Stormont <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>