Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3394032lqp; Tue, 26 Mar 2024 08:05:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUezzb93pFDt7yszzWtd+/7Rc9lBMevNIEuSlPKneBWh36DCEm+a2SvIi7lWcEOxg8j0if3O9Gm6JQP/9t5DiKRjCRIysYF8yWdZMlwOQ== X-Google-Smtp-Source: AGHT+IF2PosmVJjGWoljXTuY0iq6WM+Wog3dKoA5uIZSs4EKwH7nxphGcPzR9r9vUAbOWKCHF3MW X-Received: by 2002:a05:6a20:a120:b0:1a3:a916:12fe with SMTP id q32-20020a056a20a12000b001a3a91612femr11615370pzk.0.1711465507187; Tue, 26 Mar 2024 08:05:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711465507; cv=pass; d=google.com; s=arc-20160816; b=KlEXWb7FsQ+NSal938Gda/sXPAf5jpUukpyrmC29WCdy9UjML6BNezFTlQ/CrCCmHz tRJBaemfXw8SMbNTdDF/tunpgPqetprPNGy9nLAZ5W050zMBfCfM88YNQfroL9HmFszB wf8InTxHWoH5xZ3wLZU4fzGCm2RMaXlwdivSGCeY+Ruc75pyGriLCRScydkzlcnIous9 w+wF2AJMbFycQ1MkiodC4EUAqVKi5g7JKgVwXgx8gfR5xR72of+PizL2ZC2pOlCnxtCx sQ/rqaE1XbDEHUZJcHh+71ICuPnhz9v8hpsCOolvgndiWhgTyWCywVXiNF/zhK4ECLe3 7MwQ== 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=a9Q/eCZ6v2bw9iLxiFT4xLPFqiE1zWXHKWDB+B3WRm4=; fh=4BkQj7bEHEpPJCGIFyAHCeh1+r+ebo3THwcGxMRYBbc=; b=bOOSoShtY1dNxQcI2zFcBKIObeBS47/n2e/L6UN7HzIHdihzwNUI13biGjX2B9bdN7 eeBXvv+FvOXh4e2375HuOHv9kLU9Q2vQnENj5B86gug6onueYlVRdSKvMgOBgk3FAkIk 6Srk0OnDVzTipe+oqqSdl1a4EQsFy8E/7zxH/+RTCDroYe9f+sb4IbuHqQQ7M049L9aF sqfyNqfd4/UI6R/qcYjIErLhwCj43NnqkbxcTcrUCYwg1voksydY8uXqTmXsrEu4GRW/ BaSfjIKS+BinNZcaNhMERGtwS+9FKLeh4BeiE/QODqwaKlWXgZWMYnO/Z25c0f2JlHEf MnHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@pankajraghav.com header.s=MBO0001 header.b=EkT1s0A3; arc=pass (i=1 spf=pass spfdomain=pankajraghav.com dkim=pass dkdomain=pankajraghav.com dmarc=pass fromdomain=pankajraghav.com); spf=pass (google.com: domain of linux-kernel+bounces-119258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pankajraghav.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j22-20020a62b616000000b006e628dd06efsi7381807pff.260.2024.03.26.08.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 08:05:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@pankajraghav.com header.s=MBO0001 header.b=EkT1s0A3; arc=pass (i=1 spf=pass spfdomain=pankajraghav.com dkim=pass dkdomain=pankajraghav.com dmarc=pass fromdomain=pankajraghav.com); spf=pass (google.com: domain of linux-kernel+bounces-119258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pankajraghav.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 788CA306D95 for ; Tue, 26 Mar 2024 15:04:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E77313C805; Tue, 26 Mar 2024 15:04:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pankajraghav.com header.i=@pankajraghav.com header.b="EkT1s0A3" Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (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 222D312D76F; Tue, 26 Mar 2024 15:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711465464; cv=none; b=hfqiaZA2DrpZhYUdmA39KNK7QY24TEm3AFvkVEdjCsCA26c7svsup/fDdrNDXeE4a5GVf6eZYu/0NQdmW7h89yobuOuOWVCDu1S11afsSkrroOhWxe4E3TNLvaWbTn13DD4T2IOw387frKjSi3G46pkJrQrAjc1aRAI1jobfQIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711465464; c=relaxed/simple; bh=QwHGxohidfEE89ntqE7k8WK7rV4jGKj9cyEcRAHVK+o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mMTiRTscQoAK+iqwjAXe0mHwKqHPbL1WAa1GSIdLBGxcgMfvKWJtw6ueSHaWLahSc8oyhp9rWQnYyFheaVw5bWxBUwY/AyxYurNf7cjwUgXNTx/8r06oL3fy8h/rBD8SvxXjjPtbA8dXyUhpeQ0Qt0v5L4k8Ubb5ncCo1UKXN+0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pankajraghav.com; spf=pass smtp.mailfrom=pankajraghav.com; dkim=pass (2048-bit key) header.d=pankajraghav.com header.i=@pankajraghav.com header.b=EkT1s0A3; arc=none smtp.client-ip=80.241.56.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pankajraghav.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pankajraghav.com Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4V3t9t6lNtz9sJ6; Tue, 26 Mar 2024 15:54:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pankajraghav.com; s=MBO0001; t=1711464867; h=from:from:reply-to:subject:subject: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=a9Q/eCZ6v2bw9iLxiFT4xLPFqiE1zWXHKWDB+B3WRm4=; b=EkT1s0A3EaBOYWBwVSwGLfqiEHDG+uZDtGtzy/KDIs8RhV5bdRzJ6KwIxFsimklA3dYay8 Fx26NMvyL6DDn/96RqgcluBtZTuDsuRa8L5V4NkAwvogES+w/a2iw6Er9bDSGcDvYqMlje Xzsh0Maj3QqdmaxBE5E04YMK0Gk5ToMq/xkZnjeVSZdWnfkR9+fSs+3tRiy5a8kOJnFWcW wj23r9krEvDL3Jm+zgyUsn1VQ/sAAdLkkBCT8wwUj/le62LJXWnl0Jc6g5xnN1039BO+Fq CpMEW6liJzT26NyWLn2fQPVBhJy7Fu0BwEfDUzYiFlcZD1llT5VvoC4qbL6ePw== Date: Tue, 26 Mar 2024 15:54:22 +0100 From: "Pankaj Raghav (Samsung)" To: Matthew Wilcox Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, gost.dev@samsung.com, chandan.babu@oracle.com, hare@suse.de, mcgrof@kernel.org, djwong@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, david@fromorbit.com, akpm@linux-foundation.org, Pankaj Raghav Subject: Re: [PATCH v3 00/11] enable bs > ps in XFS Message-ID: References: <20240313170253.2324812-1-kernel@pankajraghav.com> 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: X-Rspamd-Queue-Id: 4V3t9t6lNtz9sJ6 On Mon, Mar 25, 2024 at 07:19:07PM +0000, Matthew Wilcox wrote: > On Wed, Mar 13, 2024 at 06:02:42PM +0100, Pankaj Raghav (Samsung) wrote: > > This is the third version of the series that enables block size > page size > > (Large Block Size) in XFS. The context and motivation can be seen in cover > > letter of the RFC v1[1]. We also recorded a talk about this effort at LPC [3], > > if someone would like more context on this effort. > > Thank you. This is a lot better. Thanks. > > I'm still trying to understand your opinion on the contents of the > file_ra_state. Is it supposed to be properly aligned at all times, or > do we work with it in the terms of "desired number of pages" and then > force it to conform to the minimum-block-size reality right at the end? The intention of the patches is to do the latter. Apart from the patch that rounds up file_ra_state->ra_pages, I don't poke file_ra_state anywhere and it is updated only at the end after we enforce minimum-block-size constraint (page_cache_ra_order). > Because you seem to be doing both at various points. Could you elaborate more on where I do both? Maybe I am missing something and I could change it in the next series. The previous series was trying to do both but I intentially stuck to updating the ra_state at the end in this series.