Re: wait until swapoff is *actually* finished (it returns too early)?
- To: debian-kernel@lists.debian.org
- Cc: debian-user@lists.debian.org
- Subject: Re: wait until swapoff is *actually* finished (it returns too early)?
- From: Thorsten Glaser <tg@debian.org>
- Date: Fri, 23 Aug 2024 03:06:26 +0000 (UTC)
- Message-id: <[🔎] Pine.BSM.4.64L.2408230304100.31709@herc.mirbsd.org>
- In-reply-to: <CA+t9iMx2vMJQbfUMOVwtb-urFnEoKwWO6TGGkKC2GgFOPHuCxQ@mail.gmail.com>
- References: <Pine.BSM.4.64L.2408202323480.21887@herc.mirbsd.org> <60c30fb7-e1e7-4dac-bfd9-0b257cea7511@gmail.com> <Pine.BSM.4.64L.2408212105060.28533@herc.mirbsd.org> <jwva5h4g24b.fsf-monnier+gmane.linux.debian.user@gnu.org> <CA+t9iMzvcaGu_k3LBj353gUCA-aZss-xbMzHoF47oZ6Tsa8ing@mail.gmail.com> <Pine.BSM.4.64L.2408221719290.15218@herc.mirbsd.org> <ZseHMqcvdZP+JvnY@axis.corp> <CA+t9iMx2vMJQbfUMOVwtb-urFnEoKwWO6TGGkKC2GgFOPHuCxQ@mail.gmail.com>
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
Reply to: