Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3525044ybb; Mon, 6 Apr 2020 10:21:48 -0700 (PDT) X-Google-Smtp-Source: APiQypIWlfNyTrJvyk8ifVwB/kgw/IP+1QYj+4mozsx5iwo/lwqMUxPXcAvGaPgwlaK7hoi7UCID X-Received: by 2002:a4a:e78b:: with SMTP id x11mr165115oov.45.1586193708333; Mon, 06 Apr 2020 10:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586193708; cv=none; d=google.com; s=arc-20160816; b=Md54+o2Ltb+OLg7Xoi2umm7HRO5KOJ4X5B7VPAaekCSU9lEzvdspHzwwA6BKpw7fKr u2ni/ODHfZyAKydi4aB33MsF5E3drUAQ11pen0yPVxYB+qvlDaMk042MBEVXD0rMwL8O 0Dj0u18G61UAzJdGNWuJMv/J6AbJ/Ehj8UoTVEK94mUaxkQiqjrHGugL10y7BfgIvwg5 eSzCYx2H87zubquHwg2VWL3+cQARwHfzaSn717pZ4UsgZrixHc+6jG2RjjcnEIsjVX33 1tn4uMYLTDRpVW+a7u1sLFwmH2nBg1W0tHLz1JeNvlvYUbsgTEiv2Ts8O1+e6wKrfcZC xgZw== 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; bh=EJrw8ZTI54Fm2zLK5g2EwALZmVg7mCIau63CNVNuohQ=; b=0JPHK7mGEOGySGcut+10ak2uiJoXptXUoIv8cKCO0/4wJt4jG2kcCcJm6/q5aNDtf6 zMejsyeJ6VaLreWHF7YHoPvPlTDuVw+t3iESeeW4KC51Op5gKjSQs0EMKBD78T6XMNZT B829GkXZU9pFsNVXFA4D2rTNh/0QG43ZtgdDvok7++m96icRkiUgZIk68UpEz3w6y/ZZ XaOxHB9wB7gHds9rzrhGEJy7ReBMjUA9kLtTOxHeswqQsSLILet3kAXKP43dUDOVdheQ 8t0IUwZy2nTdZZyqcLzNO3vtVaUuhwf/xOQdzGYx8n+2KIW+wrhe4UcNOCszvm5X47+f TekA== ARC-Authentication-Results: i=1; mx.google.com; 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 i11si100593otj.33.2020.04.06.10.21.23; Mon, 06 Apr 2020 10:21:48 -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; 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 S1729562AbgDFQzX (ORCPT + 99 others); Mon, 6 Apr 2020 12:55:23 -0400 Received: from nautica.notk.org ([91.121.71.147]:54276 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729089AbgDFQzX (ORCPT ); Mon, 6 Apr 2020 12:55:23 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id 6473CC01B; Mon, 6 Apr 2020 18:55:21 +0200 (CEST) Date: Mon, 6 Apr 2020 18:55:06 +0200 From: Dominique Martinet To: Matthew Wilcox Cc: Linus Torvalds , Linux Kernel Mailing List , linux-fsdevel , v9fs-developer@lists.sourceforge.net, Sergey Alirzaev Subject: Re: [GIT PULL] 9p update for 5.7 Message-ID: <20200406165506.GA26216@nautica> References: <20200406110702.GA13469@nautica> <20200406164057.GA18312@nautica> <20200406164641.GF21484@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200406164641.GF21484@bombadil.infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox wrote on Mon, Apr 06, 2020: > POSIX may well "allow" short reads, but userspace programmers basically > never check the return value from read(). Short reads aren't actually > allowed. That's why signals are only allowed to interrupt syscalls if > they're fatal (and the application will never see the returned value > because it's already dead). I've seen tons of programs not check read return value yes but these also have no idea what O_NONBLOCK is so I'm not sure how realistic a use-case that is? The alternative I see would be making pipes go through the server as I said, but that would probably mean another mount option for this; pipes work as local pipes like they do in nfs currently. -- Dominique