Date: Tue, 27 Feb 2024 18:11:07 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 276524] Setting LUN block size in ctl.conf to 512 will use volblocksize instead Message-ID: <bug-276524-27103-p1w3SXSHn1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276524-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-276524-27103@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=3D276524 --- Comment #18 from Alexander Motin <mav@FreeBSD.org> --- Format Device mode page reports physical sector size, not physical block si= ze.=20 That concept is used for bad block marking/relocation and appeared very ear= ly in SCSI specs, long before logical blocks being formalized in SBC-3. Since Format Device mode page is obsolete since SBC-2 specification, released alm= ost 20 years ago, it is hard to guess what would be its meaning in today's term= s, but I suppose physical sector smaller than physical block would not make se= nse. So I'll update the code to report physical block size there instead of log= ical block size. But after that I have a strong itch to remove Format Device mo= de page together with Rigid Disk Geometry mode page, obsoleted for the same 20 years. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276524-27103-p1w3SXSHn1>