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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AB36C678D5 for ; Wed, 8 Mar 2023 00:19:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbjCHATj (ORCPT ); Tue, 7 Mar 2023 19:19:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjCHATi (ORCPT ); Tue, 7 Mar 2023 19:19:38 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 269C295476 for ; Tue, 7 Mar 2023 16:19:33 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id u5so16046890plq.7 for ; Tue, 07 Mar 2023 16:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20210112.gappssmtp.com; s=20210112; t=1678234772; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jrG09L05M9EBlQiWqOgywzhEQRS9MUPa7vpXQr9PyHM=; b=pnsOcbmzSNRTouMJ7mFkVXby9nI6vzDhuV4e504zpFlvKvOLzPBfIQKIydDHefiPBg B13Y6VRGScieH0V3MAAMDV2hIFjZKvSe3NqMv7osC/c68PWJ69s+y4K1jlx1Lc8Cjl5I WZ80XQBtu+cfR2HYyzfLIO4TfRB7uSPtzF7txMYeeXxvA+/O5VekzIMYP53f6LmPFNuZ qQNQyvpS651yHvYq+/ZfYmN+KYKVyrR5TokfJEwNpjgKLnUPqFaDT6VXOO8tAh2nFvgb E9cZdGlskeihL0FA0Q8gVXRr0pLizYKgkdzk/9Br1C/LZpeiq3m6whjncBtizwckAcV3 Li2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678234772; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jrG09L05M9EBlQiWqOgywzhEQRS9MUPa7vpXQr9PyHM=; b=RvMwb7zDDu3awmVtBhOpOVWrWH7VtXH18Hvcotcz4dOzY0X38x+Yh1MM88FFbhDdI8 U7Sz1f+frKGxF+xuBaM/uUqIUdMnFhuRk89Ts49xrux4YA/scVPB2a4GpXQoreuqAN8K xv2kqz7L8G7I0PQ5WAxIxzwMGTi4t7DhJZEuJyA0caJooowzasuKzVCvykEkX+jUiv+n 4eZiSWgUeNE7QOuvdFTwUURcKd8CEOgZhQgtYH/HmlYL7lxLet7n9j/5wt0LR2m84aJ8 SfVUGO6LXxErxc0ZdqBYjdCrhcBj94ThJHYuAieTkcb9lDqnMQASGTD8m6b5+wmLaImO kT7Q== X-Gm-Message-State: AO0yUKVzxZH5eiwket7FC2A8m150uKD0ONTAVpYpcilzdh0hhyAJW110 1wKDeTCsVfoWI2GX/JH8oke/sA== X-Google-Smtp-Source: AK7set8Lu+zS7nBY2Dd7OUlaPC8qY/Sbp6zZOOVpKYkUcFEg2LArcK6BBsqEGTfJqx/RfCowUmE+3g== X-Received: by 2002:a17:903:41c3:b0:19c:e449:bbaa with SMTP id u3-20020a17090341c300b0019ce449bbaamr19656084ple.28.1678234772595; Tue, 07 Mar 2023 16:19:32 -0800 (PST) Received: from dread.disaster.area (pa49-186-4-237.pa.vic.optusnet.com.au. [49.186.4.237]) by smtp.gmail.com with ESMTPSA id a14-20020a170902ecce00b0019906c4c9dcsm8879507plh.98.2023.03.07.16.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 16:19:32 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1pZhWj-0065Ra-AC; Wed, 08 Mar 2023 11:19:29 +1100 Date: Wed, 8 Mar 2023 11:19:29 +1100 From: Dave Chinner To: Jens Axboe Cc: io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, brauner@kernel.org Subject: Re: [PATCHSET for-next 0/2] Make pipe honor IOCB_NOWAIT Message-ID: <20230308001929.GS2825702@dread.disaster.area> References: <20230307154533.11164-1-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230307154533.11164-1-axboe@kernel.dk> Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Tue, Mar 07, 2023 at 08:45:31AM -0700, Jens Axboe wrote: > Hi, > > File types that implement read_iter/write_iter should check for > IOCB_NOWAIT Since when? If so, what's the point of setting FMODE_NOWAIT when the struct file is opened to indicate the file has comprehensive IOCB_NOWAIT support in the underlying IO path? Cheers, Dave. -- Dave Chinner david@fromorbit.com