Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4478390ybz; Tue, 21 Apr 2020 01:06:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKVz9nYPoOdJBsu8r8OaHdTjEsodJWvP4j69V7BhaEz8qvD+uUkwp0F/lU8lXmp0YWERebj X-Received: by 2002:a17:906:970e:: with SMTP id k14mr20041005ejx.202.1587456408403; Tue, 21 Apr 2020 01:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587456408; cv=none; d=google.com; s=arc-20160816; b=PpX4uurJOVTKc/EH7B48Vs910n9yrLzEkcMpZswsZ+Dmm6G/OSWovfgWAiQHcANUB8 Xu4dAKDWiEDueJtw0X6Hjhhpp5eAEGB/Kyxdy1fohP5E5FHFdJSg3bJ82jFFPCmP4dvW GeDJ0w7/IlGvZDmcqkCAh5SSkklMD2QhyI5OrlHE79T4PnPVixPLvtGqukxyCkoqqaQ7 SuM1cNVqFdanEotX+Pgpb8kzv+7w4raWHHfYx2JN6Nptf0DveTE2V6HC9LTszIOx9z0/ VrUgUECnQaszSpl/Y60AMGZ/JKKCa0LiShamK0yzRTE5E2YlsZEeyPV6J63dw5sFXcO+ ZJow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:auto-submitted :content-transfer-encoding:references:in-reply-to:message-id:date :subject:to:from; bh=DpUiMVOM+JvQfNWSI0fxUIno8PFvJMLc0/mC4lLNnI4=; b=ERjXA3rDDb2kKRRR6bSg24g016Cwyfp0WqXzuwlab/wtEthQF10R0HU0lQtuYE6BJR Bt3f1LUGsUP32nYWVTGRz8Wz0Y3BMv0kBeTXw7tm7Y1SmRr9HhaVv90mXOLnZir1KNb6 MViJ8Juv4xVcFDojjnPh4mnXftv4JS9PVzCGACzOJGOF+s68LTVjuSOnz5OIm9SXPXRK BPjNsqXJKYt+hst5tlIAxGNOfG3GHQaR9XVknRcgbbxRlHhDhovqtuWJPBWjP7L39+sO Ib0D1e0GOP7bpl5pbpd+AeYbKq1onB1b2cUMqJVZJSDLECFip9qpkkfrg1PuF00y4CEq afNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx7si1049960edb.125.2020.04.21.01.06.24; Tue, 21 Apr 2020 01:06:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727043AbgDUIEK convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 Apr 2020 04:04:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:34652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbgDUIEI (ORCPT ); Tue, 21 Apr 2020 04:04:08 -0400 From: bugzilla-daemon@bugzilla.kernel.org Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-ext4@vger.kernel.org Subject: [Bug 207367] Accraid / aptec / Microsemi / ext4 / larger then 16TB Date: Tue, 21 Apr 2020 08:04:08 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Product: File System X-Bugzilla-Component: ext4 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hch@infradead.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=207367 --- Comment #8 from hch@infradead.org --- On Tue, Apr 21, 2020 at 03:08:50PM +1000, Dave Chinner wrote: > > FYI - I do see that bmap() is also used by below APIs/subsystem. > > Not sure if any of subsystems mentioned below may still fail later > > if the underlying FS moved to iomap_bmap() interface or for > > any existing callers of iomap_bmap() :- > > > > 1. mm/page-io.c (generic_swapfile_activate() func) > > Filesystems using iomap infrastructure should be providing > aops->swap_activate() to map swapfile extents via > iomap_swapfile_activate() (e.g. see xfs_iomap_swapfile_activate()), > not using generic_swapfile_activate(). And we also need to eventually phase generic_swapfile_activate out, maybe by having a version with a get_blocks callback for the non-iomap case. > > 4. fs/jbd2/journal.c > > Broken on filesystems where the journal file might be placed beyond > a 32 bit block number, iomap_bmap() just makes that obvious. Needs > fixing. I think this wants to use iomap, as that would solve all the problems. > And you missed the MD bitmap code uses bmap() to map it's bitmap > storage file, which means that is broken is the bitmap file is on a > filesystem/block device > 16TB, too... This probably needs to use the in-kernel direct I/O interface, just as it is planned for cachefiles. -- You are receiving this mail because: You are watching the assignee of the bug.