Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp255475lqa; Sat, 27 Apr 2024 00:41:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKSsolcaeQiObaEKM+jY4Uy4uhVGVQQfKiJh9I7UMmGYMkLiooRns5ywsvQS/50wEutNkF2j6Ay3vz4Ib+0PQCZdhVR5gmBFhxU0qpiQ== X-Google-Smtp-Source: AGHT+IGPQUTUx4EEFkSW1fHV9SwUxCCmAmq/CgV52CEytc63UgbNjKGbQaTryRbpposdOym/KJg3 X-Received: by 2002:a17:906:3742:b0:a58:725b:9fea with SMTP id e2-20020a170906374200b00a58725b9feamr3497023ejc.21.1714203712780; Sat, 27 Apr 2024 00:41:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714203712; cv=pass; d=google.com; s=arc-20160816; b=Ews14YG6CTAGBRBRU2bspyWXJ0L5dGNKmjB07rIPfwYcOPSKIUqV7LvsgtpTz4sDDh Nk5vgiKRRGFkXP256cerBdYhXLXjw9i46hhmt2X9lM2S2iu4M5/TYPKG6fUQfxcHtIyW KI8/6fpsa2Rpp5LjqFi5+jK8MlXEIpEP0zdIY3kZTTkY6iOw51uqfWupBKby21mF3Y5/ TW50Bkuurfd1k23kzvi6RgWaQgVo9mgeB3ZVsFtmZuC1SrW2Or6fYCJtTDDsteKl7x/K JqKZnAU39BNqBByi6T+jopdNucolryMGDfTsGEcUj4xQTZ6/jsCIIDKbwK2HXvp/VZK7 sTjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oxXXlnoPot77a+fvQmA9reMneHMSrAR6fk9Rds04GtI=; fh=n6nFjFm00HPbEFIUgFKw4Dwz8mG5YVaZ9GAwn841vno=; b=RuywmA4bdLkNS48qnjkhhBbG7HU11Iij6tLJ8s/AQoaxnanlYzKrd24dAyeElVzZQQ 6dx+Ew5OoSmh8vGpz+qGpLrXHZJeksxsZK+1G1fw5cOmKfMsGJ+l2QhdY7MU8suMSsTd SyoDKpe5pkmyFFVt4pPE5vhE4FFYg7DZWWDkDbj1JLPkaoKY69OROiCYnO7Sxvm5dE48 i8NyK3ASSsZxuTEP+kkAW3Xm/C1APZix5HT6cuHxkx051ZMlKpw3SOuvF/4rgUbi14LK nb/ChJ4SrV5pPYrUvsDQZBAhmmxM1eQkgKBY7sAiyaimhcc/QBl0IUtiYRp35wQzqfm3 Zq6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UUfaZcJn; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-160898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160898-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x10-20020a1709064bca00b00a587e28b675si5369129ejv.227.2024.04.27.00.41.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 00:41:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UUfaZcJn; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-160898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160898-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2B91B1F23587 for ; Sat, 27 Apr 2024 05:12:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 635C74438A; Sat, 27 Apr 2024 05:12:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="UUfaZcJn" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AC9D43AA2; Sat, 27 Apr 2024 05:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714194726; cv=none; b=qWbyo2sJChzboGyr/alocTccwooJH5tUb/VR9JaultdwXDCvJ6+LNAbg3SRb4quy+Pm81gS7vCnLkmzn6a4LtIO55z19J6IDJ04aKFslDDQ3j7lmdIrKKf3SXMPoGuvxA4iaLHRDxc1linCkJIz31p7fhTa1rXSTxIlj7LeJl4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714194726; c=relaxed/simple; bh=O7G1N5kUJ42MLKk6C0TENm1uIF0EeIdbs+5O5igP4mM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bYdJxzRiPrk004a42Nprei8ZdQAQFMVLFe14KYvr8kekyw3qz46DoMQq3yGXVEp1YNlzhZIgIZrHyDLp/yaRYmBzi2TwIWInXH7aOHP2VYxjmBtkqrtgP+T/1v7BozwVbQNk1D0kBuun2SSPpxaXmGLRGdajt3oi+jbEWQEuEDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=UUfaZcJn; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=oxXXlnoPot77a+fvQmA9reMneHMSrAR6fk9Rds04GtI=; b=UUfaZcJnJ53B+b0GduvU399iAV SCSZcYaAdxoEBh4BPtjZEp314+5gE5ekYonF6kmrewSca1uEJYQr2era5a2qiJekM3/8Qyth9pQPj pCOxvaLF+JdOhWoKZ50z4H5tknIoecADa+IxwEpW3T/wRAqUSPEmUsRmMbkg0ddXnpmAD1Xjo//B+ 3BsTusR3PaYkr+a/BtDLSQHrfWWdjVsBrlrqVOavasL0QOV/83uZeoZ7m0CYTWWiTlEEHzrbBqhNx Beoedwvj5cIJABy0xyjsnZkJcjaWOJDLE+Ae8J+gBneZEGamVxbUvdgUDo5Zkc78hGmWSzvJuc6vQ 13wZaVJA==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0aLx-0000000ErB1-3M92; Sat, 27 Apr 2024 05:12:01 +0000 Date: Fri, 26 Apr 2024 22:12:01 -0700 From: Christoph Hellwig To: "Pankaj Raghav (Samsung)" Cc: Christoph Hellwig , willy@infradead.org, djwong@kernel.org, brauner@kernel.org, david@fromorbit.com, chandan.babu@oracle.com, akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, hare@suse.de, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-xfs@vger.kernel.org, mcgrof@kernel.org, gost.dev@samsung.com, p.raghav@samsung.com Subject: Re: [PATCH v4 07/11] iomap: fix iomap_dio_zero() for fs bs > system page size Message-ID: References: <20240425113746.335530-1-kernel@pankajraghav.com> <20240425113746.335530-8-kernel@pankajraghav.com> <20240426114301.rtrqsv653a6vkbh6@quentin> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240426114301.rtrqsv653a6vkbh6@quentin> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Fri, Apr 26, 2024 at 11:43:01AM +0000, Pankaj Raghav (Samsung) wrote: > Because allocating it during runtime will defeat the purpose. Well, what runtime? Either way it seems like we have the infrastructure now based on the comment from willy. > In anycase, I would like to pursue huge_zero_page folio separately > from this series. Also iomap_dio_zero() only pads a fs block with > zeroes, which should never be > 64k for XFS. Only if you are limited to 64k block size.