Ah, that is a good solution. By default, ZFS on Linux will store xattrs
in a hidden folder, so there are multiple seeks per xattr and it's
poorly cached, so it will impact on performance especially on the slower
block devices. The zfs set xattr=sa will store this in the inodes and
will really help.
Let's mark this as a suitable workaround and hence a fix.
** Changed in: zfs-linux (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1725859
Title:
zfs frequently hangs (up to 30 secs) during sequential read
Status in zfs-linux package in Ubuntu:
Fix Released
Bug description:
Updated to artful (17.10) yesterday. Trying to read (play video) from
mirrored ZFS disks from an external USB 3 enclosure. Zpool is defined as:
root@hetty:/home/crlb# zpool status
pool: storage
state: ONLINE
scan: resilvered 20K in 0h0m with 0 errors on Fri Oct 20 18:38:49 2017
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
errors: No known data errors
root@hetty:/home/crlb#
Found that I could re-create the problem with:
rsync -av --progress <zfs_file> <internal_ext4_path>
Also found that:
dd if=/dev/sdX of=/dev/null status=progress bs=1024 count=10000000
Where "X" is either "b" or "c" does not hang.
Installed:
root@hetty:/home/crlb# apt list --installed | grep -i zfs
libzfs2linux/artful,now 0.6.5.11-1ubuntu3 amd64 [installed,automatic]
zfs-zed/artful,now 0.6.5.11-1ubuntu3 amd64 [installed,automatic]
zfsutils-linux/artful,now 0.6.5.11-1ubuntu3 amd64 [installed]
root@hetty:/home/crlb#
Help please.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1725859/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp