Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1222446yba; Wed, 24 Apr 2019 17:46:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwm7NrFDAW26dHynbsyOueMR9wji2ab0poR1QVCc/S0/mR6wu/PIdyFpehdxyF7iXHNX6ka X-Received: by 2002:a63:744b:: with SMTP id e11mr33859494pgn.327.1556153194772; Wed, 24 Apr 2019 17:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556153194; cv=none; d=google.com; s=arc-20160816; b=fMgBNf4wIUs+AAzgn56zaNn7epKfcg0YePWCuzpiS/yR7RSyItLzN4Xlu9dha9lL7N FT6z7WJe4kQB6D3DFMCpjdPzLa/0EulHtvGd3BaPXFOa9X9z+u4Cmv9my2p1j7RdRL5+ cGvm0F7TlPlsxciwd66vO8yiODo3dpq+2BPvCDFLpsCH7+t3tsqXdXG5yfa2xdGRH1RL PI7MeY0aUDKdsMmPpJN9u4xtDO9AfYojq+9eZUB8y9r3AS9IMi+wvrW3gVeI+TpqWpHm Z1kNni+ZiYpFRPC4tXSitYBiu7wZqrqPkJoi266hfBpyTFfcNcFVAe9YS7ymDWCEv99z Qadw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=mUvwogsceCvulZa2xUlZzqWaS6JtW/Sna7ItlzMrws8=; b=naVh5YsNAeqD+QmUZ8C5yJB3dWcEcijkNpP/tOrFERpVyQjy+qlMOf/cnqkkgOb5BA VwrCYNLaNLOFUsb+VmQeaj9JE0oQvTuk7KWvIJKVFe6QiIw6TysuHunVqJ4uuFSKy+Fq Jja987BPiBR27mBvQQfZcez9HDLK/08iQPJPXV4xG5GwpIeqVkGlARoJN8IzT26InGt5 p8yTmfm30Qqg+GR2seMLdAhuSrX2lHpj23jKfgybPGg2N6kZnYTZkJ6rnVJa3DsVwb2c mMT/yqh1NRWAtnIm4BCc425SzwEHy+e8v9MAxboxBJ3NAnJ4IqsJOOKLvA2Ghq1hhD1d r5Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=YN4Jo9uX; 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 a13si19030611pgi.60.2019.04.24.17.46.19; Wed, 24 Apr 2019 17:46:34 -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=pass header.i=@linux-foundation.org header.s=google header.b=YN4Jo9uX; 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 S2390426AbfDXR1T (ORCPT + 99 others); Wed, 24 Apr 2019 13:27:19 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:34403 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390415AbfDXR1S (ORCPT ); Wed, 24 Apr 2019 13:27:18 -0400 Received: by mail-lj1-f196.google.com with SMTP id y16so6854659ljg.1 for ; Wed, 24 Apr 2019 10:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mUvwogsceCvulZa2xUlZzqWaS6JtW/Sna7ItlzMrws8=; b=YN4Jo9uXoB3q60AtYKnyHSTtEc6TsAfwzhF/zJX/PQx6VjRJ3PvkcCtPFVilfeX6Xf HOEFjQJGN/mLaqgt8SNN2OQbDk0YXQYyaPSqiY8aYj5y6xPtIolLn67PhB974h2zN3oy ZHSPvlpVICdbdrny1N3WILo9pswyAjKPTsNLo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mUvwogsceCvulZa2xUlZzqWaS6JtW/Sna7ItlzMrws8=; b=uelgksCqm4W3q/KlSFPiHmnKhbEJS+nQw8cYo1SKEJCePdbTGAsXBcgJ87V2Q5jomF n6JBw/d+Qz2GBAM6XODcy1ifBqDqHe7VYlNpKut/e1ejfDQCQUV5bcZSYZcRvpu9l8lg P1tKdFXVfwee/CwHww1vnin/BsvNCZ29X+ONxbVTgRFHrBLrWP/6/rAl4eSLSIxBPqje sPSy8trugajyiU/QyL5w4r+pkuTkS8K8QJyT9vlfvWAiqMeG/WEOQuCI59wsjjuzxWk7 NY+SrQA4VzmrFFRFmkCVswhp64uEThU5Ndk+9U8733Ty/jO4k2XNoixrTzPaSkEs1m7e 0t2g== X-Gm-Message-State: APjAAAWfT0UM/ZZJc9pIEZIqzqWv5I83siGoUFM8kyApJKs/p38btk3i RL9I/kCPumlGZY4T3yrf/SrKBg3BLhg= X-Received: by 2002:a2e:93c7:: with SMTP id p7mr18205443ljh.32.1556126834458; Wed, 24 Apr 2019 10:27:14 -0700 (PDT) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com. [209.85.167.43]) by smtp.gmail.com with ESMTPSA id r136sm4472846lff.65.2019.04.24.10.27.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 10:27:12 -0700 (PDT) Received: by mail-lf1-f43.google.com with SMTP id j20so15321303lfh.2 for ; Wed, 24 Apr 2019 10:27:12 -0700 (PDT) X-Received: by 2002:ac2:4567:: with SMTP id k7mr18527580lfm.166.1556126832009; Wed, 24 Apr 2019 10:27:12 -0700 (PDT) MIME-Version: 1.0 References: <20190424143341.27665-1-sashal@kernel.org> <20190424143341.27665-59-sashal@kernel.org> <20190424163415.GB21413@kroah.com> <20190424171926.GA17719@sasha-vm> In-Reply-To: <20190424171926.GA17719@sasha-vm> From: Linus Torvalds Date: Wed, 24 Apr 2019 10:26:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH AUTOSEL 5.0 59/66] fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock To: Sasha Levin Cc: Greg Kroah-Hartman , Linux List Kernel Mailing , stable , Kirill Smelkov , Michael Kerrisk , Yongzhi Pan , Jonathan Corbet , David Vrabel , Juergen Gross , Miklos Szeredi , Tejun Heo , Kirill Tkhai , Arnd Bergmann , Christoph Hellwig , Julia Lawall , Nikolaus Rath , Han-Wen Nienhuys , linux-fsdevel 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 Wed, Apr 24, 2019 at 10:19 AM Sasha Levin wrote: > > Hm, I might be confusing something here but I see a bunch of patches > that convert existing callers mentioned in this patch to use > stream_open() which was introduced here. The only use of stream_open() upstream right now is the xenbus conversion, and that isn't actually a bugfix, because xenbus used to manually do that filp->f_mode &= ~FMODE_ATOMIC_POS; /* cdev-style semantics */ that stream_open() does. So no, there isn't "a bunch of patches" anywhere. There are *future* cleanups for 5.2 that will happen, and that might have hit linux-next. And there is at least one FUSE patch (again - pending, not upstream) that may get marked for stable. But I see nothing right now that makes it stable material yet. Linus