Experimenting around btrfs on Android
As covered before , btrfs might be an exciting thing to try on Android. Although f2fs is clearly the king of the performance on Android , my inner mouth was keep saying to try it out, so I did. Kernelspace The first step is to enable btrfs kernel module... or is it? The latest phone I had at the time when I started this project was the OnePlus 3, which used a 3.18 kernel. The btrfs in 3.18 kernel claims itself as an unstable filesystem . So before I start experimenting around btrfs, I decided to port a more recent, stable version of btrfs to the OnePlus 3's kernel. I picked the 4.9 kernel's btrfs as the 4.9 kernel is the latest LTS kernel as the time of writing this post. For those who are unfamiliar with Linux kernel development, backporting a kernel module is a hideous process. Not only you have to fix a ton of compilation errors, you have to dig through the entire Git commit history to properly fix API usages. You also have to backport some other commi...