From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 3F76B2C21D8 for ; Wed, 22 Oct 2025 04:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761107977; cv=none; b=WxOjkw6QBoYz5TaKjEpYdJsIaXrdQ/cLAkwWNhjrqEGsuVL2W8XTLifVdXHcvbbXF7cbpECcfr9UXlUX7EBHvjOqi+ar1gBELfXVBA6lcYvuuBGSFtRTSGuDTxV4JeSuXlXh2ZTWajRNYUp2mFhOJVTUeoFp+ZvK5qGIAmY4b6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761107977; c=relaxed/simple; bh=qatNIJci3WKhQ+0+JT0//JgJlcNnKbGMZhbGMbS1LLU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fLSQOROC2phB3YETeE2dP+iPpswWTFYF19YBrigmBkzclTDhRx3FFEQsIgveckw7e4hiVSjYQAEBmvXJ8jXsOWpTOTlyX42UkECNrP4snaONJjk3yhBzD95HsdV5GgDAlzjcinP4ah6ZF/BYCeHOE+Qo1rOZb9pNCgbnvwMkYSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 79DC1227A88; Wed, 22 Oct 2025 06:39:30 +0200 (CEST) Date: Wed, 22 Oct 2025 06:39:30 +0200 From: Christoph Hellwig To: Dave Chinner Cc: Kundan Kumar , jaegeuk@kernel.org, chao@kernel.org, viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz, miklos@szeredi.hu, agruenba@redhat.com, trondmy@kernel.org, anna@kernel.org, akpm@linux-foundation.org, willy@infradead.org, mcgrof@kernel.org, clm@meta.com, amir73il@gmail.com, axboe@kernel.dk, hch@lst.de, ritesh.list@gmail.com, djwong@kernel.org, dave@stgolabs.net, wangyufei@vivo.com, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, gfs2@lists.linux.dev, linux-nfs@vger.kernel.org, linux-mm@kvack.org, gost.dev@samsung.com, anuj20.g@samsung.com, vishak.g@samsung.com, joshi.k@samsung.com Subject: Re: [PATCH v2 00/16] Parallelizing filesystem writeback Message-ID: <20251022043930.GC2371@lst.de> References: <20251014120845.2361-1-kundan.kumar@samsung.com> Precedence: bulk X-Mailing-List: gfs2@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Oct 21, 2025 at 09:46:30AM +1100, Dave Chinner wrote: > Not necessarily. The allocator can (and will) select different AGs > for an inode as the file grows and the AGs run low on space. Once > they select a different AG for an inode, they don't tend to return > to the original AG because allocation targets are based on > contiguous allocation w.r.t. existing adjacent extents, not the AG > the inode is located in. Also, as pointed out in the last discussion of this for the RT subvolume there is zero relation between the AG the inode is in and the data placement.