On Sun, Sep 06, 2020 at 09:27:14AM +0800, Tom Yan wrote: > Provide an ioctl to get the logical sector size so that the maximum > bytes per request can be derived. > > Follow-up of the BLKSECTGET fix. I don't think this has any business going in. /dev/sg is a generic interface that is not specific to block based command sets. Just issue your command set specific command to query the logical block size if you care about it.