linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Cc: Omar Sandoval <osandov@osandov.com>
Subject: swap and hibernation files
Date: Fri, 23 Aug 2019 13:46:04 -0600	[thread overview]
Message-ID: <CAJCQCtR6_1cbOMOgKzBLMyL2EQMLqRP+eGfETfT40MTxoyG7pA@mail.gmail.com> (raw)

Found this:
https://github.com/systemd/systemd/issues/11939#issuecomment-471684411

Is it possible to support hibernation with swapfiles with this new
interface? My understanding is that's only a feature of uswsusp, near
as I can tell.

Advantage is it can mean the space reservation for hibernation and
swap files can be made dynamically as needed rather than making a
large 1:1 RAM to swap partition that maybe isn't needed or desired
based on the use case and workload. Instead of making these decisions
in advance at installation time, make them on demand. Plus, people
sometimes add memory and a previously created hibernation partition
will now be sized incorrectly.

Mostly I'm just curious if it's possible as part of already planned work.

-- 
Chris Murphy

             reply	other threads:[~2019-08-23 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 19:46 Chris Murphy [this message]
2019-08-25  5:35 ` swap and hibernation files Andrei Borzenkov

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=CAJCQCtR6_1cbOMOgKzBLMyL2EQMLqRP+eGfETfT40MTxoyG7pA@mail.gmail.com \
    --to=lists@colorremedies.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=osandov@osandov.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).