Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3548181ybb; Mon, 6 Apr 2020 10:49:08 -0700 (PDT) X-Google-Smtp-Source: APiQypJP6V5oIpkbRE4RhYuqKVU7jfIyDY3JVbjVzjAopym78WfWLI27GIfNgPBZi3LDz9t0IQAX X-Received: by 2002:a9d:221:: with SMTP id 30mr11957137otb.41.1586195348227; Mon, 06 Apr 2020 10:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586195348; cv=none; d=google.com; s=arc-20160816; b=Bf7IQTbL59/SKKaDkaGUuPoODpHMJZEZweCeSQ02fOXe5Ce5ahjkUuXeDNR+6xKmDF gmkIdtrDZjhFlN//NdV/ygoRC9rAraKiUKjIQik64TKYMSUJi0aKgPPe6n9+NZdSeKiw ra66TBmZIakaye2FEr4LBBNx4IYY3nycD+TEnVWdhvONklUBhr+qk+gvzxhVhprl69ym zJ1T0kOnR7HXlwAbDyQywCqg3uUobPlZ4+Tq5eWxRTJUYp/lEj0BI9QdBHZ1+Bsw57Mx 8l8cfTjCq9RNzSwcjtB6lVYvEjFwzNT98JfZah0tFnjTk+A1AMr54VbE/i7yl1Y9k9KD LUAw== 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=nNmBf+GRC0EIGToMk4/t6rTIUh9OjAdpy4aFeKb4Rqc=; b=pCzLHPXshPbBzD86RvD47byOYN6TrwM0PA3hPtAjrxlXyZMIpDWFOArsh18/yjdAN0 yVTzqpB1dbz8EqqV3ue7++9QgU9hoz0pxPACedOpahg52ubzxWJomSU1RYWoW17q81v+ Lcv0HElWcCBBCXK+1EmVcN5fE6PO51CrptAwA6Y6eNVYkylfPB7mX9v+50kjj6FssKpc zq+7OxgfClO2/rPZBK/EQK9K4LzXg69yj6D94m+fzsjedz+GGtqx4lZtmtVSYfTn4UCj WhOWyoEaRhN1Foo1dx4PwF21uhKUHlfhW7dWWnjpNOq7oB6rkt0qogb8x7MgAahNIxf6 D+xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=hfU2c40K; 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 z139si101936ooa.70.2020.04.06.10.48.56; Mon, 06 Apr 2020 10:49:08 -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=hfU2c40K; 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 S1727028AbgDFRqf (ORCPT + 99 others); Mon, 6 Apr 2020 13:46:35 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:36373 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbgDFRqe (ORCPT ); Mon, 6 Apr 2020 13:46:34 -0400 Received: by mail-lf1-f68.google.com with SMTP id w145so201193lff.3 for ; Mon, 06 Apr 2020 10:46:33 -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=nNmBf+GRC0EIGToMk4/t6rTIUh9OjAdpy4aFeKb4Rqc=; b=hfU2c40KDKDREWI3c/+ZfwIxoUGC8kXZ7TPtVMQl00LsrJlpHdN1scbOc8M0YueuXz vQC0UqJcUs6XJVxo1sj6tZnoGwiW1ExbjzQZ41FY0L479xo0CkFn4/T04xa6mC5BTQ8Q g43VaoZI2VXzPbpA7qyuFqiAMi6P/SZuMDO8k= 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=nNmBf+GRC0EIGToMk4/t6rTIUh9OjAdpy4aFeKb4Rqc=; b=SghouxzpPwyrkgMIR9PWzXZ3guKw+lfgbZHA0hDyznkQBav1BIhGhWCtmnggBSJr2Q yUVgCz7GJ8v44F9TkSSClYo6LZMqy2CkjtOGPHCE8Rovp6RYXgzsQaOysH5sw5mJ5JSa uhFugvMisZnDBSfTTP2Gasxx1xvSfo9QD3LhwL8h/8JgOlYk7nFFjRPAhnh0DGhVacnh ZdkdUFI5OE5wOmrMGsyQ8OpdEUjHC9qiMpxcmVnoEgyxyVvDNuCxz/tEtFT5elL5jHse PhCLPbMPsv8OV6Ut6AdHXB6C71QAn7zJRV16RXHJxUhCuW4TdZ9rEVPwC/2w3uxqymSh HSvg== X-Gm-Message-State: AGi0PuZqIXWR2ZIjS/z+LskuZj/fzAh9DUNlPTFuZpIQZQxXqSXLWP1A fN0bw+A/BWnsNYCNfPvoBpSraVytkio= X-Received: by 2002:ac2:43b1:: with SMTP id t17mr3125519lfl.9.1586195191468; Mon, 06 Apr 2020 10:46:31 -0700 (PDT) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com. [209.85.167.46]) by smtp.gmail.com with ESMTPSA id d27sm12057810lfq.73.2020.04.06.10.46.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Apr 2020 10:46:30 -0700 (PDT) Received: by mail-lf1-f46.google.com with SMTP id h6so220709lfc.0 for ; Mon, 06 Apr 2020 10:46:30 -0700 (PDT) X-Received: by 2002:ac2:4466:: with SMTP id y6mr2122522lfl.125.1586195189986; Mon, 06 Apr 2020 10:46:29 -0700 (PDT) MIME-Version: 1.0 References: <20200406110702.GA13469@nautica> <20200406164057.GA18312@nautica> <20200406164641.GF21484@bombadil.infradead.org> <20200406173957.GI21484@bombadil.infradead.org> In-Reply-To: <20200406173957.GI21484@bombadil.infradead.org> From: Linus Torvalds Date: Mon, 6 Apr 2020 10:46:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] 9p update for 5.7 To: Matthew Wilcox Cc: Dominique Martinet , Linux Kernel Mailing List , linux-fsdevel , v9fs-developer@lists.sourceforge.net, Sergey Alirzaev 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 Mon, Apr 6, 2020 at 10:40 AM Matthew Wilcox wrote: > > > > But look at anybody who ever worked more with NFS mounts, and they got > > used to having the 'intr' mount flag set and incomplete reads and > > -EAGAIN as a result. > > That's why you had me implement TASK_KILLABLE ;-) Oh, absolutely. We can *NOT* do this in general. Applications _will_ break if you end up just randomly breaking POSIX behavior. But network filesystems are almost never fully POSIX anyway. And yes, they do break some apps. 'intr' may not be a thing any more, but other differences wrt various atomicity guarantees (or file locking) etc still exist. So the whole "network filesystems do odd things in corner cases" isn't exactly unusual. I think the O_NONBLOCK difference is one of the more benign ones. I just think it should be documented more. Linus