From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796375485; b=jBz7lIRPjF1Do874TmJtP1cQkDm5vNwiXWE+AZHaI656AnXDCjJulSwADein/vtnRmbQ rcPg36cKxAGFVlN1pcePtcyulMHte/N5mhRezhHH0bePEgpoeSOUwaNRa2TaQxWtR2Gy8 pE690akja3s1htEjDBlbY+eMxGgxpfUq+qBSglYojmYP1GKxOJVtp6qWVskhjzntC37Yh MakIzN8qA4t5+pT8UXXH71SpUjPCUuFqtFzo78DZbTQ36tS44wo4YxCCdzJGcv8LytlpM btg5rliVfwTYxI38+G4usrV1cQ05R2ifwx6XgooT0qQJa2+K0y2EjxqoLFCrT1iWoow== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796375485; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-SRS-Rewrite; bh=QZlS7E/FS5RmhpBFUfUXaYxXWZwum2zeXL3BLc4DRvQ=; b=SNNkLi8MySxlFOwLmgHiVWCTqontAyupo/ylYoHVaNxOy+KGfnnGQx1tGtU60nVwg1ZH q7aarV3U9du1VPHh8bdmtVqAr8RWjSQZbzGfKlaDqfmrntNj3qTDHxvKq1a8kujWL9j30 +CrdcRwN7RrJPfew8lsA+ijJsLZTypm4BItXdRNHA1h4Hyr0UC0pGzwJXG4sESmui4n9s CwfYwyKF6RALstALeZKvy18884C9cWPVz9K3NdHD8m3lUjROLnyEfosPZd8rmHV/aaPEe 9GS2luhAALsRyMtjnjPadsJs9fYg2ChoDI0mkadTVTtVuw+iLWGaVlS0tY723HQ806Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=lst.de; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b="0Luk/uz1"; arc=none smtp.remote-ip=198.137.202.133 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89949606A322; Fri, 4 Dec 2026 09:11:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 89949606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=0Luk/uz1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=QZlS7E/FS5RmhpBFUfUXaYxXWZwum2zeXL3BLc4DRvQ=; b=0Luk/uz19tsgELQrGQhIG6Pnjq ojpqwlql1+k5zA9zrAkN633KR4O4Svi5FCBbts6gZoagTdGHhwS+vvvH64Scw63vZ8fy6wAkhEutB ef4JQTUmeo+9rMMbt8kbwl82yK9930OpXw1mn7XGnhXEf+eP15R1ADcnPxskTxiAPtnPRCx/ejPZy /2HNncj2P9ir8Upa4BDmiH+3e1fXwIWNSBhn5gUtL8c3t/D9dVmEad1d50sDPCrFBKkmsyBSodTQX 3O7LAAj22Q28OdMeVpEabOmKt1O5c9VhjSVMkHhOPHX5hNZstO+zPg/HdEgALN0Z3RJAVHXKGvYew ATKd0YlA==; Received: from 2a02-8389-2301-9f00-1d8d-b225-bb4b-bd8f.cable.dynamic.v6.surfer.at ([2a02:8389:2301:9f00:1d8d:b225:bb4b:bd8f] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZPJq-0000000HIt5-1OtL; Fri, 04 Dec 2026 09:11:24 +0000 From: Christoph Hellwig To: Christian Brauner Cc: "Theodore Ts'o" , Carlos Maiolino , Fengnan Chang , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: optimize iomap simple dio reads v2 Date: Fri, 4 Dec 2026 10:10:54 +0100 Message-ID: <20261204091101.2533591-1-hch@lst.de> X-Mailer: git-send-email 2.53.0 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-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Hi all, this series remove a bit of dead code and then optimizes the iomap simple dio read path. Changes since v2: - combine the two previously sent patches into a series - improve the commit log of the second patch Diffstat: fs/ext4/ext4.h | 3 --- fs/ext4/file.c | 35 ++++++++++++++++++++++++++++++++++- fs/ext4/inode.c | 3 +-- fs/iomap/direct-io.c | 33 ++++++++++++++------------------- fs/xfs/xfs_file.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- fs/xfs/xfs_iomap.c | 2 +- fs/xfs/xfs_iomap.h | 4 ---- include/linux/iomap.h | 37 ++++++++++++++++++------------------- 8 files changed, 116 insertions(+), 50 deletions(-)