Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2744438rwr; Sat, 6 May 2023 19:10:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Rp9ghPwMfKaxWkTo8oAOMXSacYst3IGIoFPtPzsU1UPgE1fljlWEGqCB2mIS0FkFw9oMA X-Received: by 2002:a05:6a20:1610:b0:f0:6f7f:4f2b with SMTP id l16-20020a056a20161000b000f06f7f4f2bmr8227344pzj.1.1683425458227; Sat, 06 May 2023 19:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683425458; cv=none; d=google.com; s=arc-20160816; b=CLY5pHlh6aPHENqZKsD7wIFXjZhtuBUtJVSDyLetzZiMvDshTEtTU57wochNaeRXLS 3m9NSE4w+IIwdmmSK4P92+fyDHHFcB5Lj0kDEfnBVemlvyZYNyQyPEDZd/uErDVxbVyZ PH1T8NCaRGPjDHbdk/kPKPPYr9yoheBkmncoz+FwiSaPlk+Cq04m1tDmlwk0vwIk+ztf L12CC6gEetK7kVXiK6+h3I7oT4gDdoBtdxU3MxrYy7/WPAqkWa3TV1aDP3u83Q1FpnRW Z2q6r6zr/zauKmmBTxErnjGvRUs5ExO/aH+/VR3uOGGp53wLoJOsjtuqF+28TPBtVxS5 xGLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=glXsxfxfanN3iuHeudVq0nOnYNxeyQH6fIS64HIlkHs=; b=lSj//L1nFaXHxGEN+D/oXCHwT+QRlFT6sviHJd9Gp8n86Q43wYab/J6xfF1GjAFBeS K2uiakG0ZasPIxedKfjD6Ij0P9CSrdaL7XWJjlv8AphRFEXodkhx+wE4VMYmqbHrygPF kr49XAxVTWCVeBjWb2qdpk4bC73d5+ylY5RCVL808iDCja+jRCt+hCbKlCchQCj72FRj LMTocjpzOG1CCT7d8bRQiT7D/bYjiXcp/LF4S0WBmbUPVC2LBrfEEnusa7xB8IKLEFtT fYH9gdo5cjFOscHVzSJZEIa8XL1W/as8utwtpoeoXFQjk22N8fg22PfIc6+IzKP3V1EF 6HQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SSHDvTEh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a63384d000000b0052cbf501db2si2695566pgn.68.2023.05.06.19.10.34; Sat, 06 May 2023 19:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SSHDvTEh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbjEGA5a (ORCPT + 99 others); Sat, 6 May 2023 20:57:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232478AbjEGA4w (ORCPT ); Sat, 6 May 2023 20:56:52 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E4018B for ; Sat, 6 May 2023 17:55:53 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-965ddb2093bso343522666b.2 for ; Sat, 06 May 2023 17:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1683420947; x=1686012947; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=glXsxfxfanN3iuHeudVq0nOnYNxeyQH6fIS64HIlkHs=; b=SSHDvTEh0bXhL8AofbEMzbxU5BbS0f21CeF3DBIHVbYdgL8KyrcvBRefBSG5Ht2wH4 VwmOisAlWIIRYdGYfCPab8zgOnsgnN/MB7vadqOID3zk8vCRA2FZ31hwdnlYHn0iS5I2 GAgJiOkHMtKzaEarfm6iuTLgSkQU6f5MhVsTU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683420947; x=1686012947; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=glXsxfxfanN3iuHeudVq0nOnYNxeyQH6fIS64HIlkHs=; b=FX3MZpsTowGL8x/DrTWP7mBlBB8xYmB5ktR7RHic12dfF+kyOYKlqKXODbjj52QWn5 n+fx8ABqBLxOH3J1u5zFYiQlDtcR2slxKT0ZE0UJV6B9P/58siHh/eeboFAfK0EPeMnH zv3jlm4p4F5gqmFBsKY83eExRHI1XKYqWf760w4f/o7PJCruqR4axED5yFHrcDNMT5Fa kxi3GyGa172st1wchagDFUFrL9WrU1BiFur7vUkb/H8l+uZ5TCnvH8CYOgizkC/wq1lp F/U8KoIPEA+YM66SxtNHzc3PTK+X2PuZJ51oYSeuxTeDE9AOWdcfWDksdPH+k1Fcp9jd 4irA== X-Gm-Message-State: AC+VfDweiWKb/k4j9VYiTDa542izNfuLFLkX66O83mzEC6sRep9t4YZE EHEkEZYo6YInawBm3dfECId4qLlkxGvXTb9adqjEgw== X-Received: by 2002:a17:907:3686:b0:965:fa3b:7478 with SMTP id bi6-20020a170907368600b00965fa3b7478mr4277122ejc.53.1683420947571; Sat, 06 May 2023 17:55:47 -0700 (PDT) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com. [209.85.218.54]) by smtp.gmail.com with ESMTPSA id u12-20020a1709060b0c00b00965d9892bafsm3000568ejg.111.2023.05.06.17.55.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 May 2023 17:55:47 -0700 (PDT) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-9619095f479so506889366b.1 for ; Sat, 06 May 2023 17:55:46 -0700 (PDT) X-Received: by 2002:a17:907:8a2a:b0:94e:de35:79c5 with SMTP id sc42-20020a1709078a2a00b0094ede3579c5mr5800050ejc.70.1683420946608; Sat, 06 May 2023 17:55:46 -0700 (PDT) MIME-Version: 1.0 References: <26aba1b5-8393-a20a-3ce9-f82425673f4d@kernel.dk> <6be969d0-e941-c8fa-aca7-c6c96f2c1ba2@kernel.dk> In-Reply-To: <6be969d0-e941-c8fa-aca7-c6c96f2c1ba2@kernel.dk> From: Linus Torvalds Date: Sat, 6 May 2023 17:55:29 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Pipe FMODE_NOWAIT support To: Jens Axboe Cc: "linux-fsdevel@vger.kernel.org" , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 6, 2023 at 3:28=E2=80=AFPM Jens Axboe wrote: > > We should just set it for socket as well and just ultimately end up > with: > > static bool __io_file_supports_nowait(struct file *file) > { > if (file->f_flags & O_NONBLOCK) > return true; > return file->f_mode & FMODE_NOWAIT; > } Yup. > > Something is very rotten in the state of Denmark. > > It's the Norwegians, always troublesome. Something all Nordic people can agree on. Even the Norwegians, because they are easily confused. Linus