Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3436168imm; Tue, 29 May 2018 07:14:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq75jEP3sVWEFkWw1AfpwwQ0TUql+1K0v2kEvUDBIV/9Rc1Tn4WJwg6bH9C9AtMfyUEYTuW X-Received: by 2002:a17:902:8647:: with SMTP id y7-v6mr17554089plt.86.1527603296594; Tue, 29 May 2018 07:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527603296; cv=none; d=google.com; s=arc-20160816; b=Jnvhz3O6TnR8n42gMj3246vt+0T7OgV2bS/qjQpaYDUW6UIAtsvpTvIJ9QNMCtS6ih C+egz9iN5ghppM+TbsXHIT1EXSqF6VwJetA5hKYJ+CNrhK5CWhZkGPLS3zdfCGMVrnJA PB7OfgqwFtWYC6CSHNswzHPJYLT6db7fdeJFci8pOou4kBEWnrhXqI63iKWMc4r61Dfd KNHL9mC5YKPWNotwzDhk0CzhHUZApXIffSIRvhQ9MrIdzwwVKFNkGJ9g7AjSl9W0LNoe Hyq7KM7wcLVuVsL3zjVXuIRTZP+Sca6kpXLcWwPvxpFM36Ueu41QZSkUmxYIbVsGY8Uo CUoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=pw0S8VVUKxVu0GPHirl8KwpG3satJfPPZ6QCEd5XYk8=; b=rUsIrD+Oje9O7uq6bBNIHsqCfpcyepChCEmaj5C7s1ft4HCxztHLTAfhG5BTU42qrz Jsi1V/PcA9aBN3kA58ZR362tFs/fsdZarUKY/w0IEPfZdaENcB2aGBc5OPCaF82iorv0 MQEeV1mRYbx2P1yQ28mItEJZaooNDmvG4vhTvWrh01z/xhCwpfLuGB73n3z5YgQu4otL UFfqnaO8qUt+mkf+0P9Fzzi7aOqShsHr76m4azbAiJ0Ob/VWb6hPRD+xUlo2+Ih38yHV oY4MX7LFfymhyY3keZFowM6qPXanwzk1yU+BSdKmajyWZBSpJBhjdh4oI4fNAixE8Y2h mQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=g0bTM+38; 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 73-v6si4750117pld.450.2018.05.29.07.14.42; Tue, 29 May 2018 07:14:56 -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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=g0bTM+38; 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 S934890AbeE2OMT (ORCPT + 99 others); Tue, 29 May 2018 10:12:19 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:39316 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934329AbeE2OMQ (ORCPT ); Tue, 29 May 2018 10:12:16 -0400 Received: by mail-oi0-f43.google.com with SMTP id t22-v6so9729865oih.6 for ; Tue, 29 May 2018 07:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pw0S8VVUKxVu0GPHirl8KwpG3satJfPPZ6QCEd5XYk8=; b=g0bTM+3849mwWP+1Q8B1vuEBOXpCkPVKmPn8UopsPyZv+XDCFKG3VFdzY3dAAUgQZN bWcVk2MhlZZ4AtbGSuQIDSOW4N7gfV4RxVroWD2NaxJ230b4+Jk2QeZLO6TDbDShRX+K OtdEtXmizVz+sx1KDrxS2InHezwLInwAtqkB4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pw0S8VVUKxVu0GPHirl8KwpG3satJfPPZ6QCEd5XYk8=; b=LSeDXUXbPjs8R3amaVRLmgslYd4wy1eeJQdoDJUue08etJLg/alcSLzgZ69n9VGaAB 5gZXyJDhTsSr4/H0KKVcnR3YP9rgOs2vin2uwczYlyP/g7oZbGE/VdVB9fTUJQulPVHT cQ0nAVAezc4cC7DQRl2prAdU8Mf9TEZolWbKez5gsGfPTv8aoibmRmBNcCAqeW20zT5o /G0DYtaidMdP6BWgQOcpp7DbQtHqzbC8U6OaLnfguIDmnbuf/pnaRaExuPOUWXOjZQGm /rCuuBrhN5wJpsc4nWqt00pjLsIGh4VmGXkPpV9dZRo8COImcgi5F4VoOr61JfG5NnjZ D1bQ== X-Gm-Message-State: ALKqPwePEN5MB/olWHxT1ATuwgpSfZMRJr2f/Zc5w7ND1j0WsgViC4Ic 2t6J5SlNwhtYqUlof2Ky6oCfyMUpIjLUwOn9ftuJVg== X-Received: by 2002:aca:6b04:: with SMTP id g4-v6mr9197170oic.118.1527603136332; Tue, 29 May 2018 07:12:16 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5303:0:0:0:0:0 with HTTP; Tue, 29 May 2018 07:12:15 -0700 (PDT) X-Originating-IP: [176.63.54.97] In-Reply-To: <20180529135938.GA5631@infradead.org> References: <20180529132148.GC23785@veci.piliscsaba.redhat.com> <20180529135938.GA5631@infradead.org> From: Miklos Szeredi Date: Tue, 29 May 2018 16:12:15 +0200 Message-ID: Subject: Re: [GIT PULL] overlayfs update for 4.18 To: Christoph Hellwig Cc: Al Viro , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, overlayfs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 3:59 PM, Christoph Hellwig wrote: >> vfs: add f_op->pre_mmap() > > We've been through these pre-mmap games a few times, and always rejected > them, why is this any different? Don't know what the other cases were. Overlayfs case is completely state free. It just does a copy-up in the case of a shared mapping so that subsequent modifications of that file get reflected in the shared mapping. Can't do the copy-up with mmap_sem held due to locking depencencies. > >> vfs: export vfs_dedupe_file_range_one() to modules > > Please use EXPORT_SYMBOL_GPL for all these crazy low-level exports. > > To be homest I'd really like to see the whole thing as a patch series > instead of a pull request. Very little seems to have gotten any > reviewed-by tags which makes me very suspicious. Did a couple of iterations and got some good feedback. But can post the current version, if you think that's useful. Thanks, Miklos