Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp88562pxb; Thu, 12 Aug 2021 11:25:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfj3G0+o+CQTMNI+h8qcdptybyta5Vc6Jrx3+DdkYxGk9SjNqVaZdW6lB21PnXEk0HNCvA X-Received: by 2002:a02:c507:: with SMTP id s7mr1442807jam.36.1628792747826; Thu, 12 Aug 2021 11:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628792747; cv=none; d=google.com; s=arc-20160816; b=HzujpBM/RP6FzwY0xpCzCUR2LkH3ffRlLyxKlZZn3P4vixGsO2fc6tDoQwGo/6e/al v633JYA/uiELCm/U0nT6xAFL8GToQi8zkQ2tPToBZTRneKlUf38AY8YrKD8p5j14k92T yihWs3SJLEPW5KLSZ2vLZzNz4Kxdmfxx9xA0qZKqrjHVBsWQtI+BCT2dPUfqoPSkaOIU G4Cpuf/43T4CEfOpRU0tNEObvE5STBqRxatDz/gy51wrcqA3oFLqJXUnJZpAtzSd4oaR 9D/4A7d2JT2Zn4e6nwsnyN8NNuMT/vzmpPbXo3kbku0oEgtMg0FS3izrKoAY+sbNXjqC cb/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=aa2B+tga46PKN+YnXZtm4+f7fweCbtyVtrejO29ygIs=; b=nOmGMsKxH9EJTrgXvWL1yj4NlQkOJFOMqhX1ZNFANYKNYhj4KPl3+znvemks8e7pbT rdkw4M6JghiW/wojTB5t85THhJnPy05y+cJDrT9SUg82EQIW0S7jS55pLpK8ixcb9AU/ yq8SSXI2kRGASaF10QTbHFpGHLZkeWDruM72OSUmfaQrHxVQSI5slefT5QxwXnmkB0ff xvHcGI2R/vq384xDxCvznTh8+1A4wcE2VbsxRZY5vyboT8clLiH9m6oLzUFGoYlinQl1 n0lSt/2dErAwcYqAj2k1iDlfFwqYkjW9qvYwaJdV619BAKo8NxsEzDI5L7RUc7GVwR/O ReQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=PrsIPiCo; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si3481647ilk.122.2021.08.12.11.25.36; Thu, 12 Aug 2021 11:25:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=PrsIPiCo; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233711AbhHLQ6l (ORCPT + 99 others); Thu, 12 Aug 2021 12:58:41 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:58076 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233391AbhHLQ6k (ORCPT ); Thu, 12 Aug 2021 12:58:40 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 9D1E11FD9F; Thu, 12 Aug 2021 16:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628787494; 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=aa2B+tga46PKN+YnXZtm4+f7fweCbtyVtrejO29ygIs=; b=PrsIPiCoyTn+EH25WZxlXVpskbuUzQKl4y2clV9wKDJC4s0OCoCRC5JaGPc9ChywE74Vl1 wRBzSrNJ1FpIIe4ZC7zha5DJ2vshpmvUzBnjst5B7hGWDpGLxfvkUD6j1PN+FhsEa930b8 ErgD/IDePBnlb7OgsCeLLK8Wq51o7E4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628787494; 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=aa2B+tga46PKN+YnXZtm4+f7fweCbtyVtrejO29ygIs=; b=kQubslZkiyir3zrCid8HhG5magl+uKtSiQ0N850lAds+/37ElalNvot9YOUIevQbP0mYS7 F2XfIVG1vw3LdXCw== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 81AAE13AC3; Thu, 12 Aug 2021 16:58:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id xT5VHiZTFWFfCQAAGKfGzw (envelope-from ); Thu, 12 Aug 2021 16:58:14 +0000 Subject: Re: [PATCH v14 077/138] mm/filemap: Add i_blocks_per_folio() To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-78-willy@infradead.org> From: Vlastimil Babka Message-ID: <61a6f0a2-5303-b7f6-15aa-fa9caa2fb2d1@suse.cz> Date: Thu, 12 Aug 2021 18:58:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-78-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:36 AM, Matthew Wilcox (Oracle) wrote: > Reimplement i_blocks_per_page() as a wrapper around i_blocks_per_folio(). > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Acked-by: Vlastimil Babka