From nobody Sun May 21 05:21:25 2023 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QP87q1h30z4C34r for ; Sun, 21 May 2023 05:21:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QP87q0gYhz3MVS for ; Sun, 21 May 2023 05:21:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684646487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BBSo4vI804ck4Pyi9DtYk6Jp7oEsZqp904XVwwuxLf4=; b=fi9OvKUEchdRSBYvKhuz1EwUxK5YnRjLJSjrwPFgUbEVu7McE0/Ie/LoK1ruoCOX2jALX0 WnXi9uPVJtNK/jNZrhhtWQSW0oYZOW+r1oN0HH4ezYkBb5JPVyZcieZju+sg2w2NMv75wh xaLUizbPqwoBw4Bq4DhGu2eahsqYiYbG9JwkPVyeIxb4WYlZQ4ViMSGzKG1tv1y9Ump3SL MAXWB53ctsm/0qXCGeavE5ip6yfu5Dn8RBx0Opp3WQxsJE4DfLJ+xD8Dcvtu9PaFn7tJqE Ii3ognGxlxQYuhVWdb2T4O2qXIURS8wfDTZJQc9DX5OrYHfuAmMr/+fdZqUQyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684646487; a=rsa-sha256; cv=none; b=RzkYHathC5oD4gI/EpQ7z5Q/y0tWHAe5FMvW0foQQLvbo+owPec0bwi7XtSSauDqbVmrMi 3rcGg00ytasXl7CgEbYyMMVgJ8gSLuKa2U7hyr7Yy+/kXls/sHFiDM15YdZ/T7zwEVProt LxT4KhbYChh0tGfxJ6+mqFQ0XT1O8CRESObdKtESIjG5KiJFiigFHfbTEDMJMBtj1gVuao KQoG+oKr3dfO7qC6vPu1/p5dcik3cdyYz/6bkUSnA/r+4FXUW618TPW1eS5WwZVCfAzbGc 0oqtHbA3KfigviJ+o8sAJZLr/VAgBqQt6Hf9y0uo4cBYqa4LNXt0RHBoOL1F7A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QP87p6tlHzfRr for ; Sun, 21 May 2023 05:21:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34L5LQbr059151 for ; Sun, 21 May 2023 05:21:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34L5LQ55059150 for fs@FreeBSD.org; Sun, 21 May 2023 05:21:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 271105] ext2fs can not mount disks with 4K native sector size Date: Sun, 21 May 2023 05:21:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fsu@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271105 --- Comment #15 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D50be18cc77b25891306f64192bf6f75e5= 5d8903c commit 50be18cc77b25891306f64192bf6f75e55d8903c Author: Fedor Uporov AuthorDate: 2023-05-08 16:14:02 +0000 Commit: Fedor Uporov CommitDate: 2023-05-21 05:17:47 +0000 ext2fs: Add large sectorsize disks support The ext2fs does not support disks with sectorsize more 512 bytes. The main issue is in reading/writing superblock, which is not aligned with 4k value. Reimplement the superblock reading logic to make it indifferent to disk logical sector size. The logical sector size more then page size is not supported, like it is doing on Linux side. PR: 271105 Reported by: k(at)vodka.home.kg Reviewed by: pfg MFC after: 2 week Differential Revision: https://reviews.freebsd.org/D40047 sys/fs/ext2fs/ext2_vfsops.c | 48 ++++++++++++++++++++++++-----------------= ---- sys/fs/ext2fs/fs.h | 6 ++++-- 2 files changed, 30 insertions(+), 24 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=