blockdev has this option --getmaxsect to get max sectors per request. BLOCKDEV(8) manual page however doesn't state what max sectors per request means. I ran this command on my system and I got the following results: # blockdev --getmaxsect /dev/sda2560
blockdev command: what is maximum sectors per request?
kernel;hard disk;command;io;block device
blockdev is a basic interface to the block device ioctls; in --getmaxsects case, it uses BLKSECTGET, which returns the maximum number of sectors for a request in the queue associated with the block device. There doesnt seem to be much documentation on this; include/linux/blkdev.h is relevant. It is mentioned briefly in chapter 12 of Linux Device Drivers, 2nd edition:BLKSECTGETBLKSECTSETThese commands retrieve and set the maximum number of sectors per request (as stored in max_sectors). In summary, blockdev --getmaxsect returns the maximum number of sectors which can be used in a single request to the block device.