On Mon, Aug 19, 2024 at 11:02:14AM GMT, Hongbo Li wrote: > > > On 2024/8/19 10:51, Kent Overstreet wrote: > > On Mon, Aug 19, 2024 at 09:55:50AM GMT, Hongbo Li wrote: > > > We enable idmapped mounts for bcachefs. Here, we just pass down > > > the user_namespace argument from the VFS methods to the relevant > > > helpers. > > > > > > The idmap test in bcachefs is as following: > > > > > > ``` > > > 1. losetup /dev/loop1 bcachefs.img > > > 2. ./bcachefs format /dev/loop1 > > > 3. mount -t bcachefs /dev/loop1 /mnt/bcachefs/ > > > 4. ./mount-idmapped --map-mount b:0:1000:1 /mnt/bcachefs /mnt/idmapped1/ > > > > > > ll /mnt/bcachefs > > > total 2 > > > drwx------. 2 root root 0 Jun 14 14:10 lost+found > > > -rw-r--r--. 1 root root 1945 Jun 14 14:12 profile > > > > > > ll /mnt/idmapped1/ > > > > > > total 2 > > > drwx------. 2 1000 1000 0 Jun 14 14:10 lost+found > > > -rw-r--r--. 1 1000 1000 1945 Jun 14 14:12 profile > > > > > > Signed-off-by: Hongbo Li <lihongb...@huawei.com> > > > > Have you run it through fstests, on the CI? When I threw the last > > version in my branch it exploded, as I recall... > > > Sorry not run it in the CI, but in my own xfstest(especially for > tests/generic/698. I have run the xfstest with 6??, and 698 was passed). Now > I have not right to access the bcachefs CI. Could you please help add it to > the CI queue when you have some free time?
hop on IRC...