From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2DBC4306D48; Wed, 15 Oct 2025 07:11:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760512298; cv=none; b=XSFUJcEFD99mpBpU1VdmSp6OHexqWHOR0HctwKuVJljGqhfjX9auE6bQi7oL9OpTRS/QNFueQHFKKjqURmgnQ1Z1OuLALWyMlOu15OQcSuYvrKRUhatc5qLcF3bcsYO8faXPt3Wt3/5jQucbFYu0nAMMVzhK3TBf6HMxcHreVFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760512298; c=relaxed/simple; bh=+YN9iv/JKaRpqQa6Ykr9VD5uGu2CRTjueccIgjbhdmE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sCoq5VoECLxmK6PA70brMbbKc+DUvVXASCfTzo6I8BOESicLrK3M2BHTZqGeckA4UvkqZ+TFFvyGB5DBIY8XjOneg4Qj2k5bYBhUnxHS3GSeWhUzpOt8j5Ji/fi8KBNAtearN90oS0RZQoZPERs6OqRw33xI51RhUkzrojWmJ9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nNBm8zcx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nNBm8zcx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 676B2C4CEF8; Wed, 15 Oct 2025 07:11:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760512297; bh=+YN9iv/JKaRpqQa6Ykr9VD5uGu2CRTjueccIgjbhdmE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nNBm8zcxxXY1bW1Jx06JgkcDaCYB11moLnPLADeWeaWCvoe+GRIL0gbf+sLlgCe8H +4D2ONNcUJrEZhesbBBxoePGgm7yTsePEWpUYmgXc+OlpJWn31es/QnYEIacJlczjV AGqlxBiCtfiAaIOFXEEPOdbNvfxpdv4ToC6RwzhjswvOyRpFJWrDMkK2mmere5UNUK n95C4lY8blVz38eHiYgRsWE9qLEnTySygu9US6T8CCeOceZyPTwE+d8dQdcy+MhGcm lNdY8F4mJ0ycz6JQ22eUXpGtijKX9rOy2ctsVK4riTq5HqsMbQ26s4Gni4Nl9NZZA6 WYJXlAJsLTW8A== Message-ID: Date: Wed, 15 Oct 2025 16:11:35 +0900 Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: allow file systems to increase the minimum writeback chunk size To: Christoph Hellwig , Christian Brauner , Jan Kara , Carlos Maiolino Cc: Andrew Morton , willy@infradead.org, hans.holmberg@wdc.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org References: <20251015062728.60104-1-hch@lst.de> From: Damien Le Moal Content-Language: en-US Organization: Western Digital Research In-Reply-To: <20251015062728.60104-1-hch@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2025/10/15 15:27, Christoph Hellwig wrote: > Hi all, > > The relatively low minimal writeback size of 4MiB leads means that > written back inodes on rotational media are switched a lot. Besides > introducing additional seeks, this also can lead to extreme file > fragmentation on zoned devices when a lot of files are cached relative > to the available writeback bandwidth. > > Add a superblock field that allows the file system to override the > default size, and set it to the zone size for zoned XFS. For the series: Tested-by: Damien Le Moal -- Damien Le Moal Western Digital Research