This attempts to clarify names utilized during block I/O remap operations (partition, volume manager). It correctly matches up the /from/ information for both device & sector. This takes in the concept from Kosaki Motohiro and extends it to include better naming for the "device_from" field. [ Impact: cleanup ]
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -116,9 +116,9 @@ struct blk_io_trace { · 115 unmodified lines | ||
| 116 | 116 | * The remap event |
| 117 | 117 | */ |
| 118 | 118 | struct blk_io_trace_remap { |
| 119 | − __be32 device; | |
| 120 | 119 | __be32 device_from; |
| 121 | − __be64 sector; | |
| 120 | + __be32 device_to; | |
| 121 | + __be64 sector_from; | |
| 122 | 122 | }; |
| 123 | 123 | |
| 124 | 124 | enum { |