[Discuss] Interesting ZFS bug

Derek Atkins derek at ihtfp.com
Fri Oct 4 08:53:35 EDT 2024


Interesting.  A 4-year-old bug that hasn't been fixed.
Imagine that.

-derek

On Fri, October 4, 2024 8:37 am, Rich Pieri wrote:
> https://github.com/openzfs/zfs/issues/11140
>
> Briefly: Flatpak uses fsync extensively. For reasons nobody is entirely
> sure about, this causes ZFS to thrash *hard* which I discovered earlier
> this week as I finally got around to switching my Calibre install from
> Debian's packages (which are woefully out of date). A flatpak
> installation that would take at most about 30 seconds on Btrfs or ext4
> takes an hour on ZFS.
>
> For me at least, the workaround is to bracket flatpak install/upgrade
> commands with disabling and enabling dataset sync:
>
> sudo zfs set sync=disabled zfsroot/zfs/home
> flatpak upgrade
> sudo zfs set sync=standard zfsroot/zfs/home
>
> --
> \m/ (--) \m/
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> https://lists.blu.org/mailman/listinfo/discuss
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the Discuss mailing list