linux-nfs / nfsd

Linux kernel source tree
Other
0 stars 0 forks source link

Testing with suspend/resume #89

Open chucklever opened 1 month ago

chucklever commented 1 month ago

People expect to be able to suspend a system that is running NFS and then resume it without hanging on suspend or crashing on resume. We currently have no tests in this area.

chucklever commented 1 month ago

Luis remarks:

LSFMM reminded me of the lack of following up on the fs-freezer stuff [0]... that just needs a respin of the patches, I was waiting on Darrick to flesh out a set of pending items he had. I think a simple rebase would do it. I think that generally would benefit anything relying on filesystems and using suspend otherwise we hang. Ie, it is a known issue that unless we fix this with this auto-suspend work your kernel will hang. And to be clear that's the goal of those patches.

But anyway, when testing that work the main test was to run fio against a filesystem while running a suspend and resume cycle.

On the guest my notes are that we need:

-global ICH9-LPC.disable_s3=0 -global ICH9-LPC.disable_s4=0

On the guest:

systemctl suspend

To wake up from the host:

virsh dompmwakeup <guest-name>