From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF5F7C10F11 for ; Wed, 24 Apr 2019 17:53:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F44B2089F for ; Wed, 24 Apr 2019 17:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556128411; bh=tKj2nqZUmccPz/ExjPm+btVawzEdjfJGDbvCyifUutY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=UJ8gGK4DKDU7F0qh8KoeKIjQkH1MaXFMJa6MaZddJmiRrDd6EyZ7MVQ0A7hxN9FqW gZJ30X01TFwaCwYSFH0auSmUoZ7sXZBCIlTglxiqDd1cAcVuwdIP/2+Sv+wBejAd3O iB78xEzXiUMjxgMi9i1PqBZO/sMP6VILzap1HQmU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390421AbfDXR1S (ORCPT ); Wed, 24 Apr 2019 13:27:18 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:43218 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390380AbfDXR1S (ORCPT ); Wed, 24 Apr 2019 13:27:18 -0400 Received: by mail-lj1-f196.google.com with SMTP id k2so3409827lje.10 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=rCRnborNW3NZOqBbCHAkpd7rLA6lEVpe7rwBlPw9V8VzfJ6N51t+oQ9Q7EdxstKMBI jUbUlWp8vnd5+3Y4gzwjFfy1oekIBUPnfydx7oZ2uPQ9z7lu5HsSEBOtdagDCFgABOPU fY81HJQTsxyaqxGnqskUsXviAB3TopgPajXIqhMT6J6ebRIQGo03jLDMQQn5pz+RR74C eGF2rXEQGZFIeu9q0kf7ILuWfkfPaXIjOlMQou50lpIGqgqIaXEEuZwQqTjEiRU77E5S 7jKaqFRYM/YgXdrcLAIKTdrXKn2F4USmQtvg8jyK8GVJw/uKxrX4h+gJ5r6Dj1yLAvJq GVIg== X-Gm-Message-State: APjAAAXHVMOT30/wirJsxFtWDRouMwrcvuV6HacQJnJjEeeUziPDnaQh NgwRjGKQJQLLDFduswlaRdZ/Rw9RJ0o= X-Google-Smtp-Source: APXvYqw1GiBuO4G/SDTDDxKfO717grIJ28x+b1A2+P10siNZvAtOl6YGzOZ6xDpSdEC96vRleezyrw== X-Received: by 2002:a2e:8018:: with SMTP id j24mr4763339ljg.149.1556126835371; Wed, 24 Apr 2019 10:27:15 -0700 (PDT) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id f18sm4409181lfh.39.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-f41.google.com with SMTP id w23so15299017lfc.9 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-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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