diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-10-03 20:52:01 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-03 20:52:01 +0200 |
commit | ac481c20ef8f6c6f2be75d581863f40c43874ef7 (patch) | |
tree | 90512cadc1c9dea89c0a24149166d3ab464d065e /include/linux/fs.h | |
parent | 61f0c1dcaaac71faabac6ef7c839b29f20204bea (diff) | |
download | op-kernel-dev-ac481c20ef8f6c6f2be75d581863f40c43874ef7.zip op-kernel-dev-ac481c20ef8f6c6f2be75d581863f40c43874ef7.tar.gz |
block: Topology ioctls
Not all users of the topology information want to use libblkid. Provide
the topology information through bdev ioctls.
Also clarify sector size comments for existing BLK ioctls.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 2adaa25..883eaac 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -300,6 +300,10 @@ struct inodes_stat_t { #define BLKTRACESTOP _IO(0x12,117) #define BLKTRACETEARDOWN _IO(0x12,118) #define BLKDISCARD _IO(0x12,119) +#define BLKIOMIN _IO(0x12,120) +#define BLKIOOPT _IO(0x12,121) +#define BLKALIGNOFF _IO(0x12,122) +#define BLKPBSZGET _IO(0x12,123) #define BMAP_IOCTL 1 /* obsolete - kept for compatibility */ #define FIBMAP _IO(0x00,1) /* bmap access */ |