Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #83640

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

Path csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From Thorsten Glaser <tg@debian.org>
Newsgroups linux.debian.kernel, linux.debian.user
Subject Re: wait until swapoff is *actually* finished (it returns too early)?
Date Fri, 23 Aug 2024 05:20:02 +0200
Message-ID <Jet0d-6WdY-3@gated-at.bofh.it> (permalink)
References <JdGVz-6qT2-1@gated-at.bofh.it> <JdU2t-6zom-11@gated-at.bofh.it> <Je0Uh-6DJp-1@gated-at.bofh.it> <Jefqh-6MWk-1@gated-at.bofh.it> <Jeieu-6OGL-23@gated-at.bofh.it> <JejNf-6PJA-3@gated-at.bofh.it> <JelP3-6QTL-3@gated-at.bofh.it> <Jesxb-6VOX-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Fri Aug 23 03:10:18 2024
Old-Return-Path <tg@debian.org>
X-Amavis-Spam-Status No, score=-7.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
X-X-Sender tg@herc.mirbsd.org
Content-Language de-Zsym-DE-1901-u-em-text-rg-denw-tz-utc, en-Zsym-GB-u-cu-eur-em-text-fw-mon-hc-h23-ms-metric-mu-celsius-rg-denw-tz-utc-va-posix
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=utf-8
Content-Transfer-Encoding QUOTED-PRINTABLE
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/144072
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/Pine.BSM.4.64L.2408230304100.31709@herc.mirbsd.org
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-user@lists.debian.org
X-Original-Date Fri, 23 Aug 2024 03:06:26 +0000 (UTC)
X-Original-Message-ID <Pine.BSM.4.64L.2408230304100.31709@herc.mirbsd.org>
X-Original-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>
Xref csiph.com linux.debian.kernel:83640 linux.debian.user:272472

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: wait until swapoff is *actually* finished (it returns too early)? Thorsten Glaser <tg@debian.org> - 2024-08-23 05:20 +0200

csiph-web