Re: Unionmount and overlayfs testsuite

From: Sedat Dilek
Date: Thu May 29 2014 - 16:00:52 EST


On Thu, May 29, 2014 at 9:35 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
> Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
>
>> # LC_ALL=C TEST_OVERLAYFS="1" ./run.sh
>> [ run.sh ] TEST_OVERLAYFS is 1
>> ***
>> *** ./run.sh open-plain.test
>> ***
>> [ mount_union.sh ] TEST_OVERLAYFS is 1
>> TEST100: Open O_RDONLY
>> - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
>> - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
>> TEST101: Open O_WRONLY
>> - open_file -w /mnt/a/foo101 -W q
>> /mnt/a/foo101: Test file not on upper filesystem (line 30)
>
> This looks like what I see when I run it:
>
> [root@andromeda union-testsuite]# TEST_OVERLAYFS=1 ./run.sh
> ***
> *** ./run.sh open-plain.test
> ***
> umount: /mnt: not mounted
> TEST100: Open O_RDONLY
> - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
> - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
> TEST101: Open O_WRONLY
> - open_file -w /mnt/a/foo101 -W q
> /mnt/a/foo101: Test file not on upper filesystem (line 30)
>
> I think the problem is that the script expecting the "upper" fs inodes to have
> the overlay superblock dev ID and not the upper superblock dev ID. That
> should be easily fixable.
>

"Fixable" in your testsuite?

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/