[Bug 271105] ext2fs can not mount disks with 4K native sector size

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 May 2023 05:21:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271105

--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=50be18cc77b25891306f64192bf6f75e55d8903c

commit 50be18cc77b25891306f64192bf6f75e55d8903c
Author:     Fedor Uporov <fsu@FreeBSD.org>
AuthorDate: 2023-05-08 16:14:02 +0000
Commit:     Fedor Uporov <fsu@FreeBSD.org>
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(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.