[Bug 276524] Setting LUN block size in ctl.conf to 512 will use volblocksize instead
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Feb 2024 18:11:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276524 --- Comment #18 from Alexander Motin <mav@FreeBSD.org> --- Format Device mode page reports physical sector size, not physical block size. That concept is used for bad block marking/relocation and appeared very early in SCSI specs, long before logical blocks being formalized in SBC-3. Since Format Device mode page is obsolete since SBC-2 specification, released almost 20 years ago, it is hard to guess what would be its meaning in today's terms, but I suppose physical sector smaller than physical block would not make sense. So I'll update the code to report physical block size there instead of logical block size. But after that I have a strong itch to remove Format Device mode page together with Rigid Disk Geometry mode page, obsoleted for the same 20 years. -- You are receiving this mail because: You are the assignee for the bug.