Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753938Ab1DOMsJ (ORCPT ); Fri, 15 Apr 2011 08:48:09 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:58916 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938Ab1DOMsH (ORCPT ); Fri, 15 Apr 2011 08:48:07 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=szeredi.hu; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; b=I+MFIREno9KObdD024COEM5R0X6q/YWKiFOlvB3vKvnNAkwXpfSqwwaQgybjMIJZXr KrYhpoZyNU18WRSmD3MJS7zwHwrgSiDq7/QtF/Qpeou+OHfnmOlyZYBRK22237mfbLKE tgbCvjcNaeF0PwniwjPqsp7gOaeDVDVkKuWXQ= MIME-Version: 1.0 X-Originating-IP: [88.209.222.127] In-Reply-To: References: <4DA4B6A8.7030804@gmail.com> Date: Fri, 15 Apr 2011 14:48:05 +0200 Message-ID: Subject: Re: Unionmount status? From: Miklos Szeredi To: Michal Suchanek Cc: Jiri Kosina , Ric Wheeler , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells , Ian Kent , Jeff Moyer , Christoph Hellwig Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 29 On Fri, Apr 15, 2011 at 2:34 PM, Michal Suchanek wrote: > On 15 April 2011 14:29, Miklos Szeredi wrote: >> 2) take whiteout/opaque support from union mounts and use that > > How far from importing full unionmount is that? Whiteout/opaque support is quite separate from the rest of union mounts, and could be reusable for overlayfs. There are several reasons why I didn't want to go that way with: - lots of filesystems would have to be updated - it introduces incompatibility in the filesystem format, which can be a real pain (not for tmpfs, obviously, since tmpfs doesn't have a persistent backing) There *are* advantages to doing whiteouts in the filesystem, for example it makes file removal atomic. But atomicity is something that needs to be addressed in lots of other places (e.g. copy up) not just during whiteout, and there are other ways to do that than push the responsibility into each and every filesystem. Thanks, Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/