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=1796232366; b=uu97f8efPBj/Na/AuMBYqx3AbA9RQp5t7o+Ug8iv5mAzhtiv4xApuRwFbfiIHEC3Ti9S fldRBWo0bH7ma37V6THIhh0+v3PrPqPZyMqqxMw7j2X1xf59KEt229dDzJr6QWKPMyf9A RwoRRZqsG7Cr3zLbJQwrGGU7b1pLhexDnWqrARz1lOJ2r02HY+bLT78uSQO+Yoe1a29m1 E7zhiRbeoENU55KZT+rVV8511i4W0n7TEGb0fvf3axFIfIHoDeUWE6iACg+MfKuaG74rC U4ImMAteqvBklkkHSKufu8MsoC6cQwjkun3Chc/NKeXYTlxe4Gf/chzOAef7FMXoRPg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796232366; 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=bTW6X+Gs9TryRvGseS4JLrPlhwI7ax0yx3WqJ0x2KkD+q5WZR26dUY6JgGYze0oxabx9 oK9FraOPtTLVpV4WS2g/7TXavyI6L7soWTEuvnC+0U40L6bq71GCwDZkfPe2IvhQROtQ9 yMHpkYuT5cl5SHi/P55et3uDEjl+6wtwsGmRdV+XGl8bdYxmlxHN5VDoxEivjc+BvrlhN +2KZH5XgtSCtwX/jSzEYkm0DLoONyYd9km+GBn4m1N2Z8vSgxOqzKbJ3nBJiQ/w0YmvF2 fdmBsaTAF0o+5cdbVDq/tsNPcgwGlMZ9Npy2mrn9AMdBjp5mAwwVkCykemzwHly3RwQ== 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 082F1606A325 for ; Wed, 2 Dec 2026 17:26:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 082F1606A325 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) 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-kernel@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