[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250720192336.4778-1-safinaskar@zohomail.com>
Date: Sun, 20 Jul 2025 22:23:36 +0300
From: Askar Safin <safinaskar@...omail.com>
To: brauner@...nel.org
Cc: James.Bottomley@...senpartnership.com,
ardb@...nel.org,
boqun.feng@...il.com,
david@...morbit.com,
djwong@...nel.org,
hch@...radead.org,
jack@...e.cz,
linux-efi@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
mcgrof@...nel.org,
mingo@...hat.com,
pavel@...nel.org,
peterz@...radead.org,
rafael@...nel.org,
will@...nel.org
Subject: Re: [PATCH v2 0/4] power: wire-up filesystem freeze/thaw with suspend/resume
Hi, Christian Brauner, Jan Kara and other contributors of this patchset.
I did experiments on my laptop, and these experiments show that this patchset does not solve various longstanding problems related to suspend and filesystems. (Even if I enable /sys/power/freeze_filesystems )
Now let me describe problems I had in the past (and still have!) and then experiments I did and their results.
So, I had these 3 problems:
- Suspend doesn't work if fstrim in progress (note that I use btrfs as root file system)
- Suspend doesn't work if scrub in progress
- Suspend doesn't work if we try to read from fuse-sshfs filesystem while network is down
Let me describe third problem in more detail. To reproduce you need to do this:
- Mount remote filesystem using sshfs (it is based on ssh and fuse)
- Disable internet
- Run command "ls" in that sshfs filesystem (this command will, of course, hang, because network is down)
- Then suspend
Suspend will not work.
Does your patchset supposed to fix these problems?
Okay, so just now I was able to reproduce all 3 problems on latest mainline ( f4a40a4282f467ec99745c6ba62cb84346e42139 ), which (as well as I understand) has this patchset applied.
I reproduced them with /sys/power/freeze_filesystems set to both 0 and 1 (thus I did 3 * 2 = 6 experiments).
I'm available for further testing.
--
Askar Safin
Powered by blists - more mailing lists