We've already known that ext4 barrier prevents system from suspending, so remounting cryptdevice with nobarrier option will solve the problem.
But src/ykfde-suspend#L79 can't handle ext4 filesystems on lvm layers as is described at ArchWiki now, hanging the suspend process.
I believe that the problem can be solved by detecting ext4 filesystems running on crypted lvms and remount them accordingly, or adding a config option to allow users specify their own ext4 logic partitions.
However, I haven't figured out yet whether these approaches are feasible and how they can be implemented. Any ideas?
We've already known that ext4 barrier prevents system from suspending, so remounting cryptdevice with nobarrier option will solve the problem.
But src/ykfde-suspend#L79 can't handle ext4 filesystems on lvm layers as is described at ArchWiki now, hanging the suspend process.
I believe that the problem can be solved by detecting ext4 filesystems running on crypted lvms and remount them accordingly, or adding a config option to allow users specify their own ext4 logic partitions.
However, I haven't figured out yet whether these approaches are feasible and how they can be implemented. Any ideas?