Re: btrfs and swap files on SSD's ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The second is an implementation detail of the linux swap file code.  It
> expects filesystems don't move blocks around, and takes a mapping of the
> blocks in the FS once.
> 
> This doesn't work with btrfs because we do move blocks around all the
> time.

That's interesting. I have a few questions:

-Is creating a loopback device from the file any different, or does that
lead to the same problems?

-Would mounting a filesystem image via loopback device cause similar
problems?

-Would this be viable if using a dedicated nodatacow subvolume, or is that
still too risky because of the odd case where you do cow?

-Does online defragmentation hurt this as well?

Cheers,

-Anthony

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux