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 over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 247b7da039fd88350c50e3d7fef15bdab6bef215 Author: Alexander Pyhalov <email@example.com> Date: 2019-01-11T06:14:24.000Z 10205 Mounting zfs filesystems on startup shows incorrect data Reviewed by: Andy Stormont <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>