Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2274113rwd; Sun, 21 May 2023 17:28:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ThhtTgIKRDa3DeSQDWRjfmfpEP/HDKmyxJ7SkCviV+/Kc+QW2QUTcFn9PmBai/OZCbBRC X-Received: by 2002:a05:6a20:441b:b0:10b:3d79:6832 with SMTP id ce27-20020a056a20441b00b0010b3d796832mr3465140pzb.61.1684715286717; Sun, 21 May 2023 17:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684715286; cv=none; d=google.com; s=arc-20160816; b=x3Lyu1XXWVGIOfGjSn6w5P/P1rw3AhTmAlg/BxhXLPUYpdaojhRic0OoJOxiQKtVGn F1ZeOnH67irpnVbOKlmSy6FV5wCI4QOjw95uKHpeOFgk64lYZUAZRah8pf908tuvBdFY 2Bogb42sGKikdfrm2euEeRYuFPVxpKxql0slg0nqfjMjKafB0dlPkIhcNUcebw/E2HQK oPJ8kmsKe9WihVh7GN/pV/EKzDcCQDyBh2RUFFQhqZehBAyCyLwGf1kjkjuk9xFXVCYi ZgL8z4BP+7eM8bmpDn83a/+qY7Koh0l8c2sey8HypvartBgKu2CDZCDbaqbtTsDoJcN5 u6ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=C6oYnjVx9ie7Txv29XEiipji565OvD93nKT1/kcO+18=; b=cdLaibcwqYDkUshRlkvjYIYmBdDK3LOIVH6aOIMmJkRGM9xX49vGPZVvegn2vdo44Z idH38+Z8giHn8Q4O5qMq1+spuXUdvLFZaQOivyRlISP6EL3UhjbUOi0fSXpVcAHLXapI tqHoG2Bj7PmhM5QcI/ijvKu5570sP5wpPK0YPiX173o2u2mh2J0dhexQ26osMffKIWtU WwtwSsFyYLXDBP9grj2R5k+rrZKshvJkRzXgWiVWCkMZWKXKoZ+NkbOu8mtDezFHkBXt pyoMKFEwz3NvJWHZsRlY0tx22Pwr5wqofKqX1XRQZUz81VfJwe+AhZLCN1YxMv/3//KO 1tAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AOSxZ5qf; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020aa797aa000000b00648628d3104si3885111pfq.390.2023.05.21.17.27.54; Sun, 21 May 2023 17:28:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@kernel.org header.s=k20201202 header.b=AOSxZ5qf; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbjEVAVF (ORCPT + 99 others); Sun, 21 May 2023 20:21:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjEVAVE (ORCPT ); Sun, 21 May 2023 20:21:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AC78DB; Sun, 21 May 2023 17:21:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0025C61027; Mon, 22 May 2023 00:21:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9EDBC433EF; Mon, 22 May 2023 00:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684714862; bh=mxFY5Ys3GsQsIss7C7Uz0yTTtJAH+VljEJbbEGeCG9A=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AOSxZ5qfdalhJdXdqKVodV1oVuts2OqvnSzs7CTgxOnTnxICRLF1NjMt0rmrBCifR FnRkh25eQpaY3arFCHzeVWQYhArz18DlwxhSxTKNFTaKsTOc33VlWLcTMHN7SrA9K2 Pb/N/mgjzTqIbnnqBSkGmlHWaFqlGoPh6nNSwg/6eWqnl0A87XlA30iI8m6OjlVUfR E72Ao23rJ7IPJ4Lr+0yXY3HSz2wEG+iKkXIZKu7UsZEkxBT1DOtA2rwaXY8rwyEKMu U9RBxJviCJziKLvv/U6tQZEHqEusoH4w8cssD3GHKeKYOR80V0NqT/J5czvUfZgHIt H1ox3tSLA8Rbg== Message-ID: <46f0818c-a04e-466a-3037-7cad41290512@kernel.org> Date: Mon, 22 May 2023 09:20:58 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 13/13] fuse: use direct_write_fallback Content-Language: en-US To: Christoph Hellwig , Matthew Wilcox Cc: Jens Axboe , Xiubo Li , Ilya Dryomov , Alexander Viro , Christian Brauner , Theodore Ts'o , Jaegeuk Kim , Chao Yu , Miklos Szeredi , Andreas Gruenbacher , "Darrick J. Wong" , Trond Myklebust , Anna Schumaker , Andrew Morton , linux-block@vger.kernel.org, ceph-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, "open list:F2FS FILE SYSTEM" , cluster-devel@redhat.com, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org References: <20230519093521.133226-1-hch@lst.de> <20230519093521.133226-14-hch@lst.de> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230519093521.133226-14-hch@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-nfs@vger.kernel.org On 5/19/23 18:35, Christoph Hellwig wrote: > Use the generic direct_write_fallback helper instead of duplicating the > logic. > > Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research