block: Add BLKROTATIONAL ioctl
Introduce an ioctl which permits applications to query whether a block device is rotational. Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录