• Re: wait until swapoff is *actually* finished (it returns too early)?

    From Thorsten Glaser@21:1/5 to All on Fri Aug 23 05:20:02 2024
    XPost: linux.debian.user

    Mike Castle dixit:

    Exactly. In my experience, running swapoff(8) _will_ take a long time
    if the swap area has a lot of content.

    Yes.

    It will block until everything is moved out.

    Unfortunately not. It will block until *almost* everything is
    moved out. I think what we’re seeing is that the request to move
    out the last bits was sent but is processed async, or something.

    I think at this point, perhaps the kernel team has an idea.

    bye,
    //mirabilos
    PS: please keep Cc’ing me on replies, thanks!
    --
    <hecker> cool ein Ada Lovelace Google-Doodle. aber zum 197. Geburtstag? Hätten die nicht noch 3 Jahre warten können? <mirabilos> bis dahin gibts google nicht mehr <hecker> ja, könnte man meinen. wahrscheinlich ist der angekündigte welt-
    untergang aus dem maya-kalender die globale abschaltung von google ☺ und darum
    müssen die die doodles vorher noch raushauen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)