Open mfhwaltz opened 5 years ago
That is correct - turns out the IO layer in XNU kernels (at least back in 10.8 when we looked at it) can only do two sizes, 512, and 4096 - everything else is an error. So you can set the recordsize that ZFS will use with the TXGs and all that logic, but when it comes to issuing IO to the devices, it has to use one of the two sizes. We should check if there has been any improvements in this area by Apple, but it seems unlikely.
When creating a zvol on macOS, the OS always sees the resulting block device as having a block size of 512 Bytes regardless of the volblocksize for that zvol.