Martin K. Petersen
c72758f337
block: Export I/O topology for block devices and partitions
...
To support devices with physical block sizes bigger than 512 bytes we
need to ensure proper alignment. This patch adds support for exposing
I/O topology characteristics as devices are stacked.
logical_block_size is the smallest unit the device can address.
physical_block_size indicates the smallest I/O the device can write
without incurring a read-modify-write penalty.
The io_min parameter is the smallest preferred I/O size reported by
the device. In many cases this is the same as the physical block
size. However, the io_min parameter can be scaled up when stacking
(RAID5 chunk size > physical block size).
The io_opt characteristic indicates the optimal I/O size reported by
the device. This is usually the stripe width for arrays.
The alignment_offset parameter indicates the number of bytes the start
of the device/partition is offset from the device's natural alignment.
Partition tools and MD/DM utilities can use this to pad their offsets
so filesystems start on proper boundaries.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
Signed-off-by: Jens Axboe <jens.axboe@oracle.com >
2009-05-22 23:22:55 +02:00
..
2009-05-22 23:22:55 +02:00
2009-01-15 16:39:37 -08:00
2008-11-07 21:45:29 -05:00
2009-03-26 22:44:43 +00:00
2008-10-30 11:38:45 -07:00
2009-01-07 23:14:38 +08:00
2009-04-15 08:28:11 +02:00
2009-04-07 08:12:38 +02:00
2008-10-10 08:22:44 +02:00
2009-04-13 15:04:33 -07:00
2009-02-12 16:47:01 -08:00
2009-02-24 22:47:31 -05:00
2008-10-16 11:21:30 -07:00
2009-01-05 18:10:19 -07:00
2009-01-08 16:32:13 -07:00
2008-04-25 13:27:03 +01:00
2009-05-15 07:56:25 -05:00
2009-04-16 16:17:10 -07:00
2009-03-30 12:43:31 -03:00
2008-04-21 22:19:05 +00:00
2009-04-07 08:31:09 -07:00
2009-05-21 13:14:32 -07:00
2008-04-21 22:23:30 +00:00
2009-04-07 08:31:03 -07:00
2009-03-30 21:46:43 +02:00
2009-03-30 15:21:59 +02:00
2009-01-06 17:21:00 +01:00
2009-04-08 13:52:01 -07:00
2009-04-30 10:41:39 -07:00
2009-03-30 12:43:15 -03:00
2009-04-27 05:37:39 -07:00
2009-01-28 15:55:48 -08:00
2009-04-19 11:12:12 +02:00
2008-10-22 15:01:22 +11:00
2009-04-18 01:19:54 -04:00
2009-04-19 23:14:02 +09:30
2009-01-14 19:19:03 +01:00
2009-04-01 08:59:18 -07:00
2008-08-16 10:55:33 +01:00
2009-05-17 21:19:31 -07:00
2009-03-20 11:35:04 -07:00
2008-10-30 11:38:45 -07:00
2008-10-16 11:21:29 -07:00
2009-04-22 13:02:09 +10:00
2008-04-19 19:19:55 +02:00
2009-04-02 01:33:51 -07:00
2009-01-06 15:59:28 -08:00
2009-03-30 15:22:02 +02:00
2009-04-03 09:23:11 -05:00
2008-11-14 17:28:53 +00:00
2008-12-22 18:44:05 +09:00
2009-04-15 11:51:50 +02:00
2008-08-29 02:15:25 -07:00
2009-04-21 13:41:50 -07:00
2009-05-15 11:32:24 +02:00
2008-07-22 19:24:29 +10:00
2008-04-29 02:49:47 -04:00
2008-07-31 18:45:41 +02:00
2009-04-09 07:28:10 +02:00
2009-03-24 16:20:36 -07:00
2009-04-06 21:44:24 -03:00
2009-04-13 15:04:32 -07:00
2009-01-08 08:31:14 -08:00
2008-10-30 11:38:45 -07:00
2009-01-07 10:00:18 -08:00
2009-04-03 15:24:35 -07:00
2009-03-30 15:22:02 +02:00
2008-12-03 16:09:53 -07:00
2008-04-30 08:29:52 -07:00
2008-07-25 10:53:30 -07:00
2008-11-12 17:17:18 -08:00
2009-01-29 18:19:30 -08:00
2009-01-29 18:19:29 -08:00
2008-12-18 12:08:05 +01:00
2009-01-11 19:12:49 +01:00
2008-11-14 10:39:26 +11:00
2008-04-18 17:55:33 +02:00
2009-01-06 11:28:07 +01:00
2009-04-07 08:44:05 -07:00
2009-03-17 12:56:47 +01:00
2008-07-22 10:39:36 +10:00
2009-04-07 08:31:12 -07:00
2009-01-05 18:10:19 -07:00
2009-03-26 15:45:43 -07:00
2009-03-24 16:38:27 -07:00
2008-07-26 12:00:06 -07:00
2008-11-06 15:41:19 -08:00
2009-04-13 17:02:13 +02:00
2009-04-02 19:04:51 -07:00
2008-04-21 15:10:15 -07:00
2008-10-16 11:21:32 -07:00
2008-03-24 19:22:19 -07:00
2008-11-12 17:17:18 -08:00
2008-07-26 12:00:06 -07:00
2008-11-03 18:21:44 +01:00
2009-01-29 18:19:29 -08:00
2008-07-26 12:00:06 -07:00
2008-06-05 15:18:30 +02:00
2009-05-02 15:36:10 -07:00
2008-06-06 11:29:10 -07:00
2009-05-06 16:36:10 -07:00
2008-04-29 08:06:16 -07:00
2008-07-26 12:00:06 -07:00
2009-01-06 10:44:32 -08:00
2009-04-07 08:31:08 -07:00
2008-07-26 12:00:06 -07:00
2008-12-01 13:51:26 +01:00
2009-04-26 18:21:24 +02:00
2008-10-20 15:43:10 +02:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2009-01-06 15:59:28 -08:00
2008-08-12 16:07:30 -07:00
2008-10-30 11:38:46 -07:00
2008-11-28 16:47:41 +01:00
2008-03-17 09:03:05 +01:00
2009-03-31 15:18:37 +11:00
2008-05-14 10:05:18 -07:00
2009-01-06 15:59:00 -08:00
2008-10-30 19:07:04 +01:00
2009-01-08 12:04:47 +00:00
2008-04-29 08:05:59 -07:00
2008-11-12 17:17:17 -08:00
2008-10-31 19:00:09 -04:00
2008-10-16 11:21:32 -07:00
2008-08-27 08:54:08 +10:00
2009-04-03 16:42:35 +01:00
2009-03-28 15:01:37 +11:00
2009-04-11 08:18:11 +02:00
2008-04-11 13:21:14 -06:00
2008-10-29 15:03:49 -07:00
2008-10-16 11:21:32 -07:00
2008-10-16 11:21:32 -07:00
2008-10-16 12:18:16 -07:00
2009-05-08 19:22:20 -07:00
2009-04-02 00:49:02 +02:00
2009-04-14 09:14:58 +10:00
2008-07-25 10:53:27 -07:00
2008-07-26 12:00:06 -07:00