linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Chris Murphy <lists@colorremedies.com>
Subject: Re: [linux-lvm] swap on thin-provisioning
Date: Sun, 29 Nov 2020 13:52:29 +0100	[thread overview]
Message-ID: <608365664c2a18db4e756f524c0e76da@assyoma.it> (raw)
In-Reply-To: <CAJCQCtS8jzLJrFnG=+dAyimOHZMHka9zyKEeF5JzOjufv3YPqw@mail.gmail.com>

Il 2020-11-29 01:18 Chris Murphy ha scritto:
> What about a swapfile (on ext4 or XFS) onr a thin volume? In this
> case, I'd expect fallocate would set the LE to PE mapping, and it
> should work. But does it work for both paging and hibernation files?

If things did not change, fallocate does *not* allocate PE space (ie: 
they are not passed down to the underlying thin pool).

Moreover, I expect for a memory-starved machine to page out pool 
metadata (right?) so I would not use a thin volume for swap.

Regards.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


  reply	other threads:[~2020-11-29 12:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29  0:18 [linux-lvm] swap on thin-provisioning Chris Murphy
2020-11-29 12:52 ` Gionatan Danti [this message]
2020-11-29 15:12   ` Sreyan Chakravarty
2020-11-30  8:39     ` Gionatan Danti
2020-11-29 16:19   ` Nicholas Geovanis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=608365664c2a18db4e756f524c0e76da@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-lvm@redhat.com \
    --cc=lists@colorremedies.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).