From: Jordi Pujol Subject: Re: overlayfs patches for ovl_copy_up & ovl_rename Date: Thu, 19 May 2011 15:34:06 +0200 Message-ID: <201105191534.06785.jordipujolp@gmail.com> References: <201105041659.38427.jordipujolp@gmail.com> <201105191124.19859.jordipujolp@gmail.com> <87sjsbc901.fsf@tucsk.pomaz.szeredi.hu> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE To: Miklos Szeredi , linux-fsdevel@vger.kernel.org Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:51521 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756761Ab1ESNeK convert rfc822-to-8bit (ORCPT ); Thu, 19 May 2011 09:34:10 -0400 Received: by wwa36 with SMTP id 36so2892349wwa.1 for ; Thu, 19 May 2011 06:34:09 -0700 (PDT) In-Reply-To: <87sjsbc901.fsf@tucsk.pomaz.szeredi.hu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: A Dijous 19 Maig 2011 11:52:46, v=E0reu escriure: > Thanks for the info. welcome, > So what you see as the end result is the same as the original lower > file? Or there's a file on the upper filesystem which contains old d= ata? it does consecutive changes in upperdir, one of the intermediate change= s is=20 not done, like if a process is using a file while a previous process has not yet = finished=20 to replace it. >=20 > > in the package upgrade, the file > >=20 > > does not exists, it is created on tmpfs and moved to the final > > overlayfs directory; after we can check that it does not exist ther= e. >=20 > Does it exist on the upper filesystem? no, neither. > "mv" between two filesystems is actually impelemented as copy+remove. therefore is that my patch is not modifying the right procedure, Thanks, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html