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 E693CC433EF for ; Tue, 5 Jul 2022 16:11:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbiGEQLj (ORCPT ); Tue, 5 Jul 2022 12:11:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbiGEQLi (ORCPT ); Tue, 5 Jul 2022 12:11:38 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46A821A3A5; Tue, 5 Jul 2022 09:11:37 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id D46A367373; Tue, 5 Jul 2022 18:11:32 +0200 (CEST) Date: Tue, 5 Jul 2022 18:11:32 +0200 From: Christoph Hellwig To: Josef Bacik Cc: Jens Axboe , "Darrick J. Wong" , Al Viro , Stefan Roesch , io-uring@vger.kernel.org, kernel-team@fb.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, david@fromorbit.com, jack@suse.cz, hch@infradead.org, Christoph Hellwig , rgoldwyn@suse.com Subject: Re: [PATCH v7 15/15] xfs: Add async buffered write support Message-ID: <20220705161132.GA13721@lst.de> References: <20220601210141.3773402-1-shr@fb.com> <20220601210141.3773402-16-shr@fb.com> <0a75a0c4-e2e5-b403-27bc-e43872fecdc1@kernel.dk> <47dd9e6a-4e08-e562-12ff-5450fc42da77@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Tue, Jul 05, 2022 at 09:47:25AM -0400, Josef Bacik wrote: > This appears to be just a confusion about what we think NOWAIT should mean. > Looking at the btrfs code it seems like Goldwyn took it as literally as possible > so we wouldn't do any NOWAIT IO's unless it was into a NOCOW area, meaning we > literally wouldn't do anything other than wrap the bio up and fire it off. It means don't do anything that would block. And I suspect in btrfs the above is about as much as you can do without blocking.