Date: Sun, 21 May 2023 05:21:25 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 271105] ext2fs can not mount disks with 4K native sector size Message-ID: <bug-271105-3630-qL826Ooeew@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271105-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-271105-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271105-3630-qL826Ooeew>