Hi,

I've had a number of my browsers fail to install or upgrade extensions because 
of an EAGAIN error moving the extension from a tmp dir into the intended 
directory. Waterfox was first (but Firefox wasn't concerned), now Google 
Chrome/ium does the same thing.

Googling the error message the Chrome shows in the UI suggested that 
sendfile(2) might be related and from there it was not a big step to make a 
link with ZFS. Indeed, with TMPDIR pointing to an external disk (with btrfs...) 
and ~/.config/google-chrome symlinked to a directory on that same disk the 
issue disappears. I haven't yet tried if putting the config directory on a disk 
image or ZVOL formatted with ext4 or xfs will solve the problem too but I have 
a hunch it won't.

That's a "resource temporarily unavailable error" but the sendfile manpage 
explains that this is returned when "nonblocking I/O has been selected using 
O_NONBLOCK and the write would block".

I'm currently running ZFS 2.1.2 backported from to my frankenbuntu (usually 
with kernel 4.14.23 but the kernel foundations of sendfile(2) seem to be OK).

Is this a manifestation of a known issue that has been fixed in a later ZFS 
version?
(With an old Ubuntu 14.04 distro kept up-to-date piecewise I'm always a bit 
reluctant to upgrade ZFS for fear of being locked out.)

Thanks,
René


------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T2d32ad911d93f48f-Mbcc1747016faff9dd489adca
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to