All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert White <rwhite@pobox.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: NOCOW and Swap Files?
Date: Wed, 22 Oct 2014 13:08:48 -0700	[thread overview]
Message-ID: <54480ED0.9070703@pobox.com> (raw)

So the documentation is clear that you can't mount a swap file through 
BTRFS (unless you use a loop device).

Why isn't a NOCOW file that has been fully pre-allocated -- as with 
fallocate(1) -- not suitable for swapping?

I found one reference to an unimplemented feature necessary for swap, 
but wouldn't it be reasonable for that feature to exist for NOCOW files? 
(or does this relate to my previous questions about the COW operation 
that happens after a snapshot?)

             reply	other threads:[~2014-10-22 20:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 20:08 Robert White [this message]
2014-10-22 20:25 ` NOCOW and Swap Files? Hugo Mills
2014-10-22 20:39   ` Robert White
2014-10-22 20:42     ` Hugo Mills
2014-10-22 20:48       ` Robert White
2014-10-23  7:34   ` Russell Coker
2014-10-23 11:22 ` Austin S Hemmelgarn

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=54480ED0.9070703@pobox.com \
    --to=rwhite@pobox.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.