Eoan verification
First, reproducing the bug:
root@nsn7:~# mkdir /zfs-test root@nsn7:~# cd /zfs-test/ root@nsn7:/zfs-test# truncate -s 10G file.img root@nsn7:/zfs-test# zpool create -o ashift=12 -O acltype=posixacl -O compression=lz4 -O xattr=sa -O normalization=formD -O dnodesize=auto tank $(pwd)/file.img root@nsn7:/zfs-test# zfs create tank/d1 -o encryption=on -o keyformat=passphrase Enter passphrase: Re-enter passphrase: root@nsn7:/zfs-test# dd if=/dev/urandom bs=4k of=/tank/d1/somedata.bin count=10240 10240+0 records in 10240+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 0,425336 s, 98,6 MB/s root@nsn7:/zfs-test# zfs snapshot tank/d1@s1 root@nsn7:/zfs-test# dd if=/dev/urandom bs=4k of=/tank/d1/somedata2.bin count=10240 10240+0 records in 10240+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 0,260445 s, 161 MB/s root@nsn7:/zfs-test# zfs diff tank/d1@s1 tank/d1 Unable to determine path or stats for object 3 in tank/d1@s1: File exists root@nsn7:/zfs-test# uname -a Linux nsn7 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Now installing the updated kernel and rebooting into it.
Eoan verification
First, reproducing the bug:
root@nsn7:~# mkdir /zfs-test /zfs-test# truncate -s 10G file.img /zfs-test# zpool create -o ashift=12 -O acltype=posixacl -O compression=lz4 -O xattr=sa -O normalization=formD -O dnodesize=auto tank $(pwd)/file.img /zfs-test# zfs create tank/d1 -o encryption=on -o keyformat= passphrase /zfs-test# dd if=/dev/urandom bs=4k of=/tank/ d1/somedata. bin count=10240 /zfs-test# zfs snapshot tank/d1@s1 /zfs-test# dd if=/dev/urandom bs=4k of=/tank/ d1/somedata2. bin count=10240 /zfs-test# zfs diff tank/d1@s1 tank/d1 /zfs-test# uname -a
root@nsn7:~# cd /zfs-test/
root@nsn7:
root@nsn7:
root@nsn7:
Enter passphrase:
Re-enter passphrase:
root@nsn7:
10240+0 records in
10240+0 records out
41943040 bytes (42 MB, 40 MiB) copied, 0,425336 s, 98,6 MB/s
root@nsn7:
root@nsn7:
10240+0 records in
10240+0 records out
41943040 bytes (42 MB, 40 MiB) copied, 0,260445 s, 161 MB/s
root@nsn7:
Unable to determine path or stats for object 3 in tank/d1@s1: File exists
root@nsn7:
Linux nsn7 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Now installing the updated kernel and rebooting into it.