Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9754448rwp; Thu, 20 Jul 2023 09:11:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlGEMts9zo9PsabBB/4375/dfx7u1d0xbOdMk2qI8+iDkMhKonSHoVJk1gO23Sj+TCsEI7U2 X-Received: by 2002:aa7:c986:0:b0:51e:4439:f474 with SMTP id c6-20020aa7c986000000b0051e4439f474mr5166828edt.35.1689869506806; Thu, 20 Jul 2023 09:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689869506; cv=none; d=google.com; s=arc-20160816; b=cQDVMgCcA33JW4PQ7kgHB+RyQgO24fm5YLA3l9o8390EjUoAD5swt5nsIxi2B6A/pw POGzSH/FjMvWZleNr7Ne6KhZsuRFdOpaUW9j+KLaGBR64E2MVwh3DPj+TJWVb+q3GmTY v1NRIu/HnbBjHr5BaNWFDTcmPHmAbmtY8rA78Q7fSMe5hnSw0PGejGwIrK0z0c2BqyZr 6jasZ4mnFd5KC0wFKeJcCeAMvhBrKtV/Cy6EcV1RMmDCQnaJbIHSppMZ5tzDuVOPeaxH zsHPhKnMEz8maxsJHtYjZZtxTv6Si59kNm73B+QIRet52tTjKvFO5neDucgRFpdIrZF4 VFzQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=Ix2HM/BnK8g7DRa9xoG2p8nolZPz7poExl8Bbq+XYGk=; fh=FpZjwgNTqBy92kG2pYnAkzhVJ/KhPhJfwPAbgk/M8AQ=; b=wq2TM/1agQptmIxHqCPsmoNagbdG7wD1W6jD1YRmEqwRDeUGqm6Cfn1A5HJX08husF z1xmxjuO0Bcs6p88+UisXybcM9lbsrsGn5drteAKO2lXduKnIaV+8dfSbl21kM2VRUlw YQrmjVpq62MPir2MflqDVfT3Arcj4OJLAafQmN3dv84koMxZffVpBNamV5g8c6Ge+br5 NUyhJvmdipLHQiF/nCNcVK6y9clKGfALHx3VC9QlDkC6ltP07429ckZbT+czygaDLePM eaRpPfELEFvC8z7wUriflfhoMB8nnexyxmxayIvZkZb/EWFao4Tr0mqQS4hAoPq9VEEf /MwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tXaaFbYN; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=UZ2oo4gZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j18-20020a50ed12000000b0051df392f9dcsi962099eds.128.2023.07.20.09.11.19; Thu, 20 Jul 2023 09:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@suse.de header.s=susede2_rsa header.b=tXaaFbYN; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=UZ2oo4gZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232975AbjGTPsn (ORCPT + 99 others); Thu, 20 Jul 2023 11:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232968AbjGTPsl (ORCPT ); Thu, 20 Jul 2023 11:48:41 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97756135; Thu, 20 Jul 2023 08:48:40 -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-out1.suse.de (Postfix) with ESMTPS id 56C8C22C07; Thu, 20 Jul 2023 15:48:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689868119; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ix2HM/BnK8g7DRa9xoG2p8nolZPz7poExl8Bbq+XYGk=; b=tXaaFbYN5Pn6HJrs5qdtbJmrYhRuRkm0cK4bnk/ZWQVAQ95C/3RhoI1w9SnZt7vX9pED4S LRDuQQhpzJ/gVj5gFRJ2D11eX//dBAxdZzP88LYvl3qLM84CXBGDC9aMp9m6ZpgI/fSeOm z2ko3Esxx+QJCpNBkLJAEYdDuCQ8tb4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689868119; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ix2HM/BnK8g7DRa9xoG2p8nolZPz7poExl8Bbq+XYGk=; b=UZ2oo4gZeu8hDd5WnMY5wxAlDCHnbdxXcthb3OmqtLSOdnnwB8gx9XjA3jPtPZdYsK1+EO tISlNyIL+6wj5LCg== 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 1FFA2133DD; Thu, 20 Jul 2023 15:48:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id iYXNBldXuWSNIgAAMHmgww (envelope-from ); Thu, 20 Jul 2023 15:48:39 +0000 Message-ID: Date: Thu, 20 Jul 2023 17:48:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 5/6] block: use iomap for writes to block devices Content-Language: en-US To: Christoph Hellwig , Jens Axboe Cc: "Darrick J. Wong" , Andrew Morton , Matthew Wilcox , Christian Brauner , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20230720140452.63817-1-hch@lst.de> <20230720140452.63817-6-hch@lst.de> From: Hannes Reinecke In-Reply-To: <20230720140452.63817-6-hch@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,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-kernel@vger.kernel.org On 7/20/23 16:04, Christoph Hellwig wrote: > Use iomap in buffer_head compat mode to write to block devices. > > Signed-off-by: Christoph Hellwig > --- > block/Kconfig | 1 + > block/fops.c | 31 +++++++++++++++++++++++++++++-- > 2 files changed, 30 insertions(+), 2 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman