[PATCH v1 0/4][DISCO] fs: add shiftfs

Christian Brauner christian at brauner.io
Thu Apr 4 13:39:10 UTC 2019

Hey everyone,

This is v1 of shiftfs with Tyler's comments addressed.

This is the patchset for shiftfs which Seth and I have been working on
for a while. It is needed to transparently translate the on-disk ids of
an underlaying filesystem into valid ids in a given user namespace.
This work has been mentioned quite a bit lately since we need it for LXD
and Anbox and has been targeted for inclusion in Disco.
The main advantage of shiftfs is that it provides signficiant
performance benefits as it lets us avoid recursively chowning the root
filesystem for unprivileged containers when they are created or when
their idmap is changed. This becomes very important with workloads where
we are running a huge number of containers which Anbox and LXD both are
currently doing. Other container runtimes will benefit from shiftfs in
Ubuntu as well.
Also, a big thank you to Seth who even with his regular busy schedule
still always was ready to help out by discussing ideas, reviewing, and
writing patches.


Christian Brauner (1):
  UBUNTU: [Config] enable shiftfs

 debian.master/config/config.common.ubuntu | 2 ++
 1 file changed, 2 insertions(+)


More information about the kernel-team mailing list