From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=18.9.28.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796232365; b=wcdKz9LIyR932D+im5yNLAIlY5YNZtzCD09PElVc4ozj2e6y+Ygb5+VUsWcthDT54wUW quGIVjWaPdGZ0zkW5IaHxRG1FE0jmxxsaPetwKAmff3dtSybCqLajTyLIVdvWfYDqRWSe 2RBi0CrwgkCmT4JFjnMOvzo2CLv/hrYN1zpISDpc2O5wz3MR45tFt3G76LtDhlu/5ObjU Jbm/s27hsjOYyPagQtP0oONzVK4AN8k0FXPHtmQWvSi5/D6p833W+URU+sa3+tfLN61sY q6UsZeucXwvvhiU1iIWpNsE20FK4j/SXq2khzWAf6V/PcUeMr+DJ+CZtsqJjj/7RS4w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796232365; h=DMARC-Filter:Received:DKIM-Signature:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=iqmC+c+SP1zg60IYjPQkPliZ8MwcoUYcnbwi92GzSvU=; b=hk6ubZhR7JLTT+wFSPtI6a60H/zeFcJShDzDjC1ijWMUNk3Vv3OunE2IiX2tbgb6f4sx QYTd1nc1JCekbmGMse2DmAUxNpraqtfjFi0kjQ6iU9cgKGLpmvtP8WFjbfD8PZlRpUNif e8GDs3rXT0AYHsbRm1ZCnpI1Bboqx/li81vb1bdcn5/RPxTN/WdoFChQYATKSm6Iy+VIP BAaYKJD6aiG5t0kGDXGoAEHAP+AdcbJPncP5tIt1Cwp4o6EcCb1dp1OgIvFyj/USbibP0 W3YtRGFBYKOYEXhW1Kz0WH2O4a2NCHWgeUDANpCUoiu1I+h4Nymn0NYxmPamqaoVGow== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=fOqPgkHD; arc=none smtp.remote-ip=18.9.28.11 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1615E606A31A for ; Wed, 2 Dec 2026 17:26:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1615E606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=fOqPgkHD Received: from macsyma.thunk.org (pool-108-26-156-184.bstnma.fios.verizon.net [108.26.156.184]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 6B2HPRJC028930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Dec 2026 12:25:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1796232331; bh=iqmC+c+SP1zg60IYjPQkPliZ8MwcoUYcnbwi92GzSvU=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=fOqPgkHDCRpAbHeLiAiozLW/fosI703+uO5PTKCJXy3TIE7Qbdqb2fHFvyY/kGYld 1phYBtFrHnM73RooxONM6zinB38PVTnnG7SQSwIZo4XESasTZXqZ3l74BEASxffJP9 mAzSTwJja4Lh5KVVQkybzq9VNipLtdRFDPjk3/I8j5P/HyaSP3+ydwquLDFQJ1SIrj Wgvx89MMcx+tCeBkEDmhfgIzrVqD1IY4vXOtAorBk2p9qlfLsnGu8pqFjHN5SkEJTe 6e5FcVuwiGjmgXEOtUf+AVP1AJPPHn/7sHmEvY2FaWvW70z4HZ80KMnmC04EmjwWj1 0tx8fh72umhog== Received: by macsyma.thunk.org (Postfix, from userid 15806) id 4DEA62ACB051; Wed, 2 Dec 2026 12:25:27 -0500 (EST) Date: Wed, 2 Dec 2026 12:25:27 -0500 From: "Theodore Tso" To: Tianyi Chen Cc: Jan Kara , Andreas Dilger , Baokun Li , Ojaswin Mujoo , Ritesh Harjani , Zhang Yi , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: ext4: fsync waits for journal credits behind throttled writeback Message-ID: References: <20261201163709.467333-1-hi@tychen.cc> <20261202063117.15509-1-hi@tychen.cc> X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202063117.15509-1-hi@tychen.cc> On Wed, Dec 02, 2026 at 03:31:17PM -0500, Tianyi Chen wrote: > On Wed, Dec 02, 2026 at 12:01:35AM -0500, Theodore Tso wrote: > > Changes in the kernel, or in the workload, might make this problem > > better or worse. But fundamentally this sort of thing has always > > been an issue. > > Thanks, Ted! That clears it up for me. I wasn't expecting love letters > in an fsync thread. :) Yeah, this has come up before. A few years back, someone was trying to use Kubernetes, and they wanted to cap how much I/O various containers might be using so one container couldn't cause problems for the others. In that case, the only real solution was to use separate block devices for each containers and then use prop i/o on the block device; however, (a) this inhibits sharing between containers, which might not be an issue, and (b) it's potentially wasteful of storage space. You can use something like thin-provisioning (dm-thin) to mitigate the waste of storage space, but this doesn't solve the data isolation problem, and you still have wasted space because of the file system metadata. Cheers, - Ted