On 3/30/2022 3:53 AM, Namjae Jeon wrote:
zfs block size is 128KB, and there is a problem when ksmbd responds to this value as a sector size to the windows client. This seems to judge as an error when a Windows client requests sector size information from the server and receives a value larger than 4KB. If the logical/physical_block_size is obtained from the block layer in ksmbd, You might think of this as a layer violation. e.g. i_sb->s_bdev->bd_disk->queue->limits.logical_block_size. So I am confused as to how to fix this issue. and I'd like to hear your thoughts on how to fix this correctly.
This sounds like a problem common to any LVM or RAID layering. What does a Windows server return for a volume on a Storage Space? Look to that for guidance. Tom.