Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.83.148.184 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796292875; b=Gd51adfFHdY6yaSfhOiKUSj8n+/35kHZNWIID/k0Yzo6hRaH0rIkcCCtpOt/O5/r5duA QdJsxJCOjwseoT9KRHQy0PQBcePDxP/lPEAJBrxmeyryAQrmFBNcNYmlNWb6GRHA6l1Az W0OOqVp6hPJx7aPAa/T3M0ISs6+FF6WWJamv9uTCPhAbaW57tArAE9J4t0O1tsIw/2FwU Fh7ZHPetPeR0WXGFX6pjtvKKallFdkSlp8OzQ4hI1jLZV4CLaClmad7MbdUNByrMSRQ2R YfjC+3GL6eG89CZPg2gWsWc1SzOFh1EOx04yy69nPi+5Rv9ZV8keeaiGy4vHM2E7bUg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796292875; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:Received:Received:X-Farcaster-Flow-ID:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:X-Originating-IP:X-ClientProxiedBy:Content-Type: Content-Transfer-Encoding; bh=1jtFTpZ/L7WYZ/I3mHgw6LoYGTPCC2fWFXFsZ3A2Skk=; b=pjmE/qJswAiKu1BJQupvMn/c6cDlJhT1uVvRrm5UsSqSxMk/toqBLy6x5GDUSLSCgZkf vVWCzmYBoGSIxill+G60vjl3YwwjuJRcuyNqn/A3PL3CiV2e8Srm21KTAS1arXuVy+xIi URi3il1+WZv+h3RbemnqtrsMiNxVow3uKNM9ueqz00fwdzIao0DfkcAyeEX7eYo5x36Uw T+v05qPSWLXbhD4KM0yCIOeBBnt9lrDccZCMf1bczv9p5kMqsoFDBv1d7OPB8+inrFIhd ocruPSE0v9M8Gt+3PcCu7yzz+psHysU0eXmnL1pqhfh/6PHiSQelQ3CRe+UtJWcPIbQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=amazon.com; spf=pass smtp.mailfrom=amazon.it; dkim=pass header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256 header.s=amazoncorp2 header.b=lqC0j2YJ; arc=none smtp.remote-ip=35.83.148.184 Received: from pdx-out-014.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-014.esa.us-west-2.outbound.mail-perimeter.amazon.com [35.83.148.184]) (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 EEDA960A2614; Thu, 3 Dec 2026 10:14:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EEDA960A2614 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256 header.s=amazoncorp2 header.b=lqC0j2YJ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2; t=1796292872; x=1827828872; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1jtFTpZ/L7WYZ/I3mHgw6LoYGTPCC2fWFXFsZ3A2Skk=; b=lqC0j2YJ6KqBmM5/uaCwnrNMRjrZGYAPYLfuaV6Ihgz0PHlhPdv/3TRd hlb/Nm6bgunnfVeIofLDX78kqzysCgnWXyYVhyk1A31e/x0DKFuGlZrfY aWgVgfJeDZfXIyWDlbLg+g3VSWQgQjmI1p5V31LVXQJkzBrtCykQH5MV4 A4MUwDh9h97xHPmgCKJvnTE5WwFoO2O8ASc26qK5SNTzyag1bErCeqhVp pHeAe4iXES7ZB8PQMZc/T97FsaKIqcoifIjgAB4hYtv5skS0ulWqTv0mR nEImcBBevbyWpHHraKUDhOxrGQMpEr/Twd62twdQYXY55UGHwr72P4N99 w==; X-CSE-ConnectionGUID: wuCsT05sTcGaDFZ8EFmylQ== X-CSE-MsgGUID: X1dxy3eGTiKaii4tMeF4iQ== X-IronPort-AV: E=Sophos;i="6.27,248,1787011200"; d="scan'208";a="35597619" Received: from ip-10-5-12-219.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.12.219]) by internal-pdx-out-014.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 10:14:28 +0000 Received: from EX19MTAUWB001.ant.amazon.com [205.251.233.104:13496] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.11.100:2525] with esmtp (Farcaster) id 3d1a0b1d-87df-4611-bd97-096c699b2920; Thu, 3 Dec 2026 10:14:27 +0000 (UTC) X-Farcaster-Flow-ID: 3d1a0b1d-87df-4611-bd97-096c699b2920 Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWB001.ant.amazon.com (10.250.64.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Thu, 3 Dec 2026 10:14:27 +0000 Received: from dev-dsk-dipiets-1b-77b833da.eu-west-1.amazon.com (10.253.66.177) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.57; Thu, 3 Dec 2026 10:14:20 +0000 From: Salvatore Dipietro To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 0/2] mm, iomap: account dirty at page granularity for per-block dirty folios Date: Thu, 3 Dec 2026 10:14:00 +0000 Message-ID: <20261203101400.257462-1-dipiets@amazon.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: References: X-Mailing-List: exfat@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ClientProxiedBy: EX19D031UWC002.ant.amazon.com (10.13.139.212) To EX19D001UWA001.ant.amazon.com (10.13.138.214) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Nov 13, 2026 at 07:13 PM, Pedro Falcato wrote: > I think you'll face strong resistance to any of these options. That's fair, and I'm not pushing any of them. They are just some tests we ran to understand the problem, not a proposal. I'd like ideas from the community on how this should be fixed. In the fio test the regression cuts write throughput by 59% (from 9,984 to 4,061 IOPS), and anything that reads files sequentially and then rewrites them in place with small writes can hit it. The fio reproducer is in [1]. What approach would you suggest to fix this? Thanks, Salvatore [1] https://lore.kernel.org/linux-mm/20261027112702.3747009-1-dipiets@amazon.it/T/#m3e489f6e0f25f3499b1e95f36eecd4e346324342 AMAZON DEVELOPMENT CENTER ITALY SRL, viale Monte Grappa 3/5, 20124 Milano, Italia, Registro delle Imprese di Milano Monza Brianza Lodi REA n. 2504859, Capitale Sociale: 10.000 EUR i.v., Cod. Fisc. e P.IVA 10100050961, Societa con Socio Unico