systemd / zram-generator

Systemd unit generator for zram devices
MIT License
585 stars 50 forks source link

"A stop job is running for /dev/zram0" after everything is already unmounted slows down shutdown process #191

Open digitalsignalperson opened 8 months ago

digitalsignalperson commented 8 months ago

I notice this is one of the last things in the shutdown sequence after "Reached target System Shutdown" is shown. All filesystems are already unmounted, yet this "A stop job is running for /dev/zram0" can easily delay shutdown/reboot by 15-20 seconds.

Is there any way to force this to skip whatever cleanup it wants to do? With all the filesystems unmounted already, I don't understand what the point is of waiting.