Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3680413imm; Sun, 10 Jun 2018 23:11:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLBxioYU+XHLfcBtqn3zF6cKdWKZn+V1z/QSPKzTRABbOOQSTqocQfNrhulG83VbHCoAoOS X-Received: by 2002:a62:8d5:: with SMTP id 82-v6mr16282964pfi.154.1528697459926; Sun, 10 Jun 2018 23:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528697459; cv=none; d=google.com; s=arc-20160816; b=AakOacmrz1roqgRQI9dLb7cZDwIQEj9YvzEyuJZlnFShSbo1Vg3y/9XSDgjP4vNmxK fU5vs5o+riOsprbVdJdkMu298WSmS3BNLx97jnRccU4fY92vrzOCSyRIzpxYh+qTyJFn nCTqu2z04X3JZ0s+CPQuxxMsMCdDiXnDJ2jyoBYK69Y3+Zi+6IJHfHFSQI1zYxyb3lK2 LxnzKlPqHCNpgRghUtlAMT4b85gz38eTvPBQo+KTTIcHnCQ2Kkyp+7qSpqoEFE+OO5y5 TXvlWSQZ8Ss+x8Vf22cvRbREKM2mgUuZc11MOlrzijHMXzn3G9TMmLUcqELT8OdXVo+F do/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=RIj7PXCAj9dsDBAa9jM3F/1sRpZg3CFEuz8FEArL5e0=; b=KO9AJkhzmEPKATntiOwAYzpgI6abB/UEp5CxPcjLCsBUV11RUXOmU50jOP69nWP1gp /S15plfJ1tbfRnIguMxqOsMswNQxmWGNEzSUfWR/2g/RAqElxJOZAvaNMPyFuaDq0liH 9+r6/QWqDuXBVPonFapl51lxRac5DU5iD4tH7AAsfjdLwi/0sddojTzRadu28MLAyTdM ND0LPEqRyHfdsBcOiktsiOyAEz0phJM49kn7Zsxmzvw/02jNCSZ77uZeqxcX8xnxC7Gh DCe0L5GtAj5GLLgsQySUEJeHK9vRXQIraYCR6vH4XHxUD0GQnrvtl/HWT5OhbKdf4QZT c3+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kpUhuSpp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si15540767pgc.302.2018.06.10.23.10.46; Sun, 10 Jun 2018 23:10:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kpUhuSpp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754084AbeFKGJ4 (ORCPT + 99 others); Mon, 11 Jun 2018 02:09:56 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46958 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072AbeFKGJy (ORCPT ); Mon, 11 Jun 2018 02:09:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RIj7PXCAj9dsDBAa9jM3F/1sRpZg3CFEuz8FEArL5e0=; b=kpUhuSppBaXxFldGrXEKAoh4S nB0uaucdGFvS/XEY6UNgvKBu4pvKRRe1RHrZNPP3rB6DicnPB3Vc3xPe6eXtBXZ9awrUwd7X+0PXu WOdED+JI7OrPNt8YNelKr75GU7/rrYjZQxsL5K+sVYUjZXWsPUGpC7UIrsyVDHgK4AuoTkpWvoZHt ElXOtKpgLA1PAurFnGWMdByJ73BDdAwHPRiIKqNloN/DqtiqFY6juRap2WTXZYFBf/dXEYpnPwQcv IVQEc9oRnAZjc0+EslfJvxwDkr7YZY0gGXkcdEbwnR+8qx3I8qu3/mDnleE5uKdbzr2zMoQRd7U+8 ceJDatS5Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSG1W-00030B-WC; Mon, 11 Jun 2018 06:09:51 +0000 Date: Sun, 10 Jun 2018 23:09:50 -0700 From: Christoph Hellwig To: Linus Torvalds Cc: Christoph Hellwig , Miklos Szeredi , Linux Kernel Mailing List , linux-fsdevel , linux-unionfs@vger.kernel.org, Al Viro Subject: Re: [GIT PULL] overlayfs update for 4.18 Message-ID: <20180611060950.GA8048@infradead.org> References: <20180608121330.GG23785@veci.piliscsaba.redhat.com> <20180609065208.GA31572@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 09, 2018 at 02:42:20PM -0700, Linus Torvalds wrote: > And Christoph's copmmentary isn't really helping the situation. > Christoph, I haven't seen the NAK history, can you elaborate? Most of the bits just need a bit of refinement I think, instead of being forced through the overlayfs tree and are generally fine. The pre_mmap hook I think is a clear no-go. We've had this tried multiple times and always rejected it. Unlike previous uses the overlayfs use isn't outright broken, but still questionalable as it will still lead to a copyup that "leaks" if the actual mmap wasn't successfull. The whole discussion of how mmap happens, how we deal with mmap_sem and failures needs a broader discussion with all MM and VFS folks first.