linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NOCOW and Swap Files?
@ 2014-10-22 20:08 Robert White
  2014-10-22 20:25 ` Hugo Mills
  2014-10-23 11:22 ` Austin S Hemmelgarn
  0 siblings, 2 replies; 7+ messages in thread
From: Robert White @ 2014-10-22 20:08 UTC (permalink / raw)
  To: Btrfs BTRFS

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?)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-23 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 20:08 NOCOW and Swap Files? Robert White
2014-10-22 20:25 ` 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

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).