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 1FCE2C433EF for ; Thu, 5 May 2022 15:59:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381560AbiEEQD0 (ORCPT ); Thu, 5 May 2022 12:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381543AbiEEQDW (ORCPT ); Thu, 5 May 2022 12:03:22 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7360F5BE5E; Thu, 5 May 2022 08:59:42 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 317F41F8D3; Thu, 5 May 2022 15:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1651766381; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AsP6YX4TfGGfSNFjh2NCubCPGG9c6qB90RBvm6iNh5M=; b=AQQwNY2i4W2M6YAZasU2nOjQaelTtHwQaq4hJOYK9qjW2fz5iiNMgsVsNsqvgECmEpp328 qBUmGm6d6EqCPmhlfcIWqpLTS51DLDrA69+sUmnmbWBKCZsikEVI0mKlC7HA8WOLGZpGwQ D+Eg0Z6ggJAIFYRkb/VxmAyoXcXb3Zc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1651766381; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AsP6YX4TfGGfSNFjh2NCubCPGG9c6qB90RBvm6iNh5M=; b=VZJPqdSHXW0v/tfC6AEu5zoxchKi81gXOkMuMDi87ZpHzuJrVoxqCck/BsjkvFiv80ZbCs I9LymGPOD3pQ+fDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EAF8E13B11; Thu, 5 May 2022 15:59:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id LL5gOGz0c2LVXAAAMHmgww (envelope-from ); Thu, 05 May 2022 15:59:40 +0000 Date: Thu, 5 May 2022 17:55:29 +0200 From: David Sterba To: Christoph Hellwig Cc: Chris Mason , Josef Bacik , David Sterba , "Darrick J. Wong" , linux-btrfs@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: reduce memory allocation in the btrfs direct I/O path Message-ID: <20220505155529.GY18596@suse.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , "Darrick J. Wong" , linux-btrfs@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20220504162342.573651-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220504162342.573651-1-hch@lst.de> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, May 04, 2022 at 09:23:37AM -0700, Christoph Hellwig wrote: > Hi all, > > this series adds two minor improvements to iomap that allow btrfs > to avoid a memory allocation per read/write system call and another > one per submitted bio. I also have at last two other pending uses > for the iomap functionality later on, so they are not really btrfs > specific either. The series is reasonably short so I'd like to add it to 5.20 queue, provided that the iomap patches get acked by Darrick. Any fixups I'd rather fold into my local branch, no need to resend unless there are significant updates.