On Ubuntu 19.10, with ZFS root and zfs-auto-snapshot,
/etc/grub.d/10_linux_zfs was scanning every single snapshot whenever
update-grub was invoked.
This is a simple patch that just exits the get_dataset_info() function
if the dataset is a snapshot. I could be missing something, but I don't
expect
I am having the same issue with canmount=on switching to canmount=noauto on a
user's dataset, and I'm using the final release of 19.10, so perhaps this will
help.
Version Details:
v-eight# cat /etc/issue.net
Ubuntu 19.10
v-e