ZFS returns EINVAL error 22 on posix_allocate used by firefox on wayland.
a workaround is to use tmpfs or another non zfs fs for /tmp.
Does it affect ZFS on Linux as well? Can you report upstream instead?
If it's using memfd, it won't affect Linux, though IIRC there's a couple different places where a memory fd is needed and only one of them uses memfd (?)
SHM_ANON was used too but I've heard something about it being removed??
(In reply to Greg V from comment #2)
Firefox itself also uses posix_fallocate but maybe not for long.