md: Make linear raid use sector_t for internal representations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | md: linear.c: Fix typo in comment.drivers/ | +1 | 0 replies | |
| 2/6 | md: linear.c: Remove pointless initialization of curr_offset.drivers/ | +0 | 0 replies | |
| 3/6 | md: linear.c: Remove broken debug code.drivers/ | +0 | 0 replies | |
| 4/6 | md: linear: Represent dev_info->size and dev_info->offset in sectors.drivers/ include/ | +28 | 0 replies | |
| 5/6 | md: linear.c: Make two local variables sector-based.drivers/ | +10 | 0 replies | |
| 6/6 | md: Convert remaining 1k representations in linear.c to sectors.drivers/ include/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] md: Make linear raid use sector_t for internal representations
[try #2, rebased to Neil's for-next branch as of today]
here's a bunch of patches that convert all representations of internal variables in linear.c to sectors. Patches 1-3 are only trivial cleanups.
Patches #4 and #5 are straight-forward replacements of the size and offset fields of struct dev_info and some local variables respectively.
The only patch in this series that is not self-explanatory is #6 that converts the hash_spacing and the preshift fields of struct dev_info to sectors. I've added a detailed changelog message for this patch that explains the details of the changes introduced by this patch.
checkpatch.pl is happy with all six patches, and the patched kernel was tested by the test suite of mdadm. While the 00linear test was successful, a couple of other tests failed. However, this seems to be unrelated to the changes of this series because the same tests also failed with an unpached ubuntu-hardy kernel.