<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 29 Nov 2020, 6:23 pm Gionatan Danti, <<a href="mailto:g.danti@assyoma.it">g.danti@assyoma.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 2020-11-29 01:18 Chris Murphy ha scritto:<br>
> What about a swapfile (on ext4 or XFS) onr a thin volume? In this<br>
> case, I'd expect fallocate would set the LE to PE mapping, and it<br>
> should work. But does it work for both paging and hibernation files?<br>
<br>
If things did not change, fallocate does *not* allocate PE space (ie: <br>
they are not passed down to the underlying thin pool).<br>
<br>
Moreover, I expect for a memory-starved machine to page out pool <br>
metadata (right?) so I would not use a thin volume for swap.<br>
<br>
Regards.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">What about a swap file allocated with dd??</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></div></div></div>