From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932406AbaE2Thh (ORCPT ); Thu, 29 May 2014 15:37:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57006 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754049AbaE2Thg (ORCPT ); Thu, 29 May 2014 15:37:36 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <1400838223-30844-1-git-send-email-miklos@szeredi.hu> <28592.1401382081@warthog.procyon.org.uk> <29026.1401383705@warthog.procyon.org.uk> <29191.1401384252@warthog.procyon.org.uk> <29410.1401385296@warthog.procyon.org.uk> <31766.1401387746@warthog.procyon.org.uk> To: sedat.dilek@gmail.com Cc: dhowells@redhat.com, Miklos Szeredi , Al Viro , Linus Torvalds , linux-fsdevel , LKML , Christoph Hellwig , Andrew Morton , apw@canonical.com, Felix Fietkau , neilb@suse.de, jordipujolp@gmail.com, ezk@fsl.cs.sunysb.edu, "J. R. Okajima" , mszeredi@suse.cz Subject: Re: Unionmount and overlayfs testsuite Date: Thu, 29 May 2014 20:35:43 +0100 Message-ID: <19229.1401392143@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sedat Dilek 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. David