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 787AAC4332F for ; Wed, 14 Dec 2022 16:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239092AbiLNQp2 (ORCPT ); Wed, 14 Dec 2022 11:45:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238893AbiLNQpZ (ORCPT ); Wed, 14 Dec 2022 11:45:25 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7E4F15709 for ; Wed, 14 Dec 2022 08:45:23 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 9EA8168AA6; Wed, 14 Dec 2022 17:45:19 +0100 (CET) Date: Wed, 14 Dec 2022 17:45:19 +0100 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , Qu Wenruo , linux-btrfs@vger.kernel.org Subject: Re: [PATCH 5/8] btrfs: cleanup scrub_rbio Message-ID: <20221214164519.GA13110@lst.de> References: <20221213084123.309790-1-hch@lst.de> <20221213084123.309790-6-hch@lst.de> <083cd81a-644e-a054-80c1-1b3b902ff6e9@gmx.com> <20221213132433.GA21430@lst.de> 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: linux-btrfs@vger.kernel.org On Wed, Dec 14, 2022 at 07:32:00AM +0800, Qu Wenruo wrote: > > One personal thing is, I'd prefer "_wait_" for functions that may wait for > IOs. Thus submit_read_bios() may be better renamed to > submit_read_wait_bios(). > (bios means it still directly handle a bio list, or just > submit_read_wait_bio_list()?) I can do either one. > > Another changes is, since there is no bio_list out of the > _read_bios(), the "bios" naming can be removed. > Something like _read_wait() may be a little better. Sure.