Re: ZFS problems since recently ?

From: John Kennedy <warlock_at_phouka.net>
Date: Mon, 01 Jan 2024 16:42:26 UTC
On Mon, Jan 01, 2024 at 06:43:58AM +0100, Kurt Jaeger wrote:
> > >   I can crash mine with "sysctl -a" as well.
> 
> markj@ pointed me in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039
> to
> https://github.com/openzfs/zfs/pull/15719 
> 
> So it will probably be fixed sooner or later.
> 
> The other ZFS crashes I've seen are still an issue.

  Applying the two ZFS kernel patches fixes that issue:

	root@bsd15:~ # sysctl -a | grep vfs.zfs.zio
	vfs.zfs.zio.deadman_log_all: 0
	vfs.zfs.zio.dva_throttle_enabled: 1
	vfs.zfs.zio.requeue_io_start_cut_in_line: 1
	vfs.zfs.zio.slow_io_ms: 30000
	vfs.zfs.zio.taskq_wr_iss_ncpus: 0
	vfs.zfs.zio.taskq_write: sync fixed,1,5 scale fixed,1,5
	vfs.zfs.zio.taskq_read: fixed,1,8 null scale null
	vfs.zfs.zio.taskq_batch_tpq: 0
	vfs.zfs.zio.taskq_batch_pct: 80
	vfs.zfs.zio.exclude_metadata: 0

	root@bsd15:~ # uname -aUK
	FreeBSD bsd15 15.0-CURRENT FreeBSD 15.0-CURRENT #2 main-n267335-499e84e16f5-dirty: Mon Jan  1 08:04:59 PST 2024     warlock@bsd15:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500008 1500008