> I'd suggest to do full dd on that file and make it NOCOW first. That way > it should minimize attempts to actually allocate the file blocks at the > time they're needed for swap out. I think this is good idea for HDD, on SSD this no make sence.
> https://btrfs.wiki.kernel.org/index.php/FAQ#Does_btrfs_support_swap_files.3F > "A workaround, albeit with poor performance, is to mount a swap file via a > loop device." I did not pay attention to it, i think this is enough. If nobody no want say addition comments, this thread can be closed. Thanks to all, how answer. With best regards, Timofey -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html