20-24 September 2021
US/Pacific timezone

dm-snapshot in userspace

22 Sep 2021, 08:00
Microconference3/Virtual-Room (LPC Virtual)


LPC Virtual

Android MC Android MC


Kailash Akilesh (Google) David Anderson (Google)


dm-snapshot was a huge step forward for Android updates, but it can have greatly outsized disk space requirements for relatively small binary patches. Since dm-snapshot is closely tuned to the underlying exception store, it is not easily amenable to custom storage formats.

We have addressed this by implementing dm-snapshot in userspace via a new "dm-user" device-mapper module (like FUSE, but for block devices). Since the entire OS runs off this block device, performance is a primary motivation over NBD/iSCSI, and we are interested in how to achieve high-performance userspace block devices in the upstream kernel.

I agree to abide by the anti-harassment policy I agree

Primary authors

Kailash Akilesh (Google) David Anderson (Google)

Presentation Materials