Re: squashfs can starve/block apps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2025-06-26 at 10:09 +0200, Joakim Tjernlund wrote:
> We have an app running on a squashfs RFS(XZ compressed) and a appfs also on squashfs.
> Whenever we validate an SW update image(stream a image.xz, uncompress it and on to /dev/null), 
> the apps are starved/blocked and make almost no progress, system time in top goes up to 99+%
> and the console also becomes unresponsive.
> 
> This feels like kernel is stuck/busy in a loop and does not let apps execute.
> 
> Kernel 5.15.185
> 
> Any ideas/pointers ?
> 
>  Jocke

This will reproduce the stuck behaviour we see:
 > cd /tmp (/tmp is an tmpfs)
 > wget https://fullImage.xz

So just downloading it to tmpfs will confuse squashfs, seems to
me that squashfs somehow see the xz compressed pages in page cache/VFS and
tried to do something with them.

kernel 51.15.185 (aarch64)
user space: ARM 32 bit with thumb




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux