Date: Mon, 8 Feb 2021 14:01:19 -0500 From: Paul Mather <paul@gromit.dlib.vt.edu> To: "Kevin P. Neal" <kpn@neutralgood.org> Cc: freebsd-geom@freebsd.org Subject: Re: Making gmirror metadata cooperate with gpt metadata Message-ID: <DD4C2109-2989-4719-9405-637DC01397CE@gromit.dlib.vt.edu> In-Reply-To: <YCGEu5KoAPqfF9n6@neutralgood.org> References: <CADC2UYd%2B1hvOORErpHYvFMSGPeOqEd-M=oXiviqV6mRt2DZJMw@mail.gmail.com> <5E7EFDC6-0089-4D6C-B81C-3D98A04C0FA7@gromit.dlib.vt.edu> <CADC2UYexYa20wiWV2eAKvE-10F4Fi9hnh%2BEToSXEphpyLD5dMw@mail.gmail.com> <4AB2335F-706F-489D-9228-FEECFDD3CC45@gromit.dlib.vt.edu> <YCGEu5KoAPqfF9n6@neutralgood.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 8, 2021, at 1:36 PM, Kevin P. Neal <kpn@neutralgood.org> wrote: > On Sun, Feb 07, 2021 at 05:55:58PM -0500, Paul Mather wrote: >> To be honest, I don't remember what it does because I only use = gmirror >> for swap nowadays, but I have a sneaking suspicion from memory that = it was >=20 > Is this safe? I thought that gmirror could attempt to allocate memory, = so in > a low memory situation where you are swapping it could deadlock. Actually, I always remember the flipside: there was a time when folks = said not to swap to ZFS volumes because memory pressure from ARC could = lead to increased paging out to swap that could lead to the sort of = deadlock you mention due to even more memory pressure by ZFS. I can't remember hearing any caveats about swapping to gmirror. > Or did that only apply when using encryption? I've never had an issue swapping to a gmirror'd swap partion, encrypted = or otherwise. I build my own packages via Poudriere, which usually = guarantees giving swap a good workout. :-) Cheers, Paul.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD4C2109-2989-4719-9405-637DC01397CE>