Jump to Navigation

Btrfs: from enterprise to mobile world

Session Summary: 
Btrfs (https://btrfs.wiki.kernel.org/index.php/Main_Page) is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Although it's an enterprise filesystem, it has many interesting features which are very useful in mobile world. This session will introduce these feautres and it's usage on meego. And the real practice of using btrfs in meego will also be covered.
Session Abstract: 

Btrfs has many advanced features which are very useful in mobile world:
1. Subvolume/snapshot. This is very critical feature of btrfs. It can used for data backup/restore on any mobile devices. And since btrfs has built-in cow mechanism, it's very space efficient to do backup/restore than using external tools.
2. SSD optimization. Althoug SSD is not very common in enterprise world, it's the typical storage media in mobile world from the very beginning. Btrfs has special optimization for SSD.
3. Compression. In mobile world, disk space is always not enough. And compression is the right answer to it. The latest btrfs in 2.6.38 kernel can support two compression algorithm: gzip and lzo. And user can make their own choice between performance and compression ratio.
4. Data integrity. Data is important for every one. Btrfs use data checksum to ensure the data and metadata integrity.
5. Performance. Btrfs have good performance for small files and boot time. And it's defragmentation can also help a lot on performance.
This session will talk about the above features and it's usage on mobile device in detail.
Btrfs is very cool. But it is also very new. It is still under heavy development. And it is still experimental. And since it's designed for enterprise originally, it has some shortcomings such as inefficient space management on small devices, etc. This session will also cover some problems we have faced in meego, latest development status and our cooperation with upstream community.