Thread (7 messages) 7 messages, 1 author, 2008-07-25

[PATCH 0/6] md: Make linear raid use sector_t for internal representations

flat view
STALE6654d

From: Andre Noll <hidden>
Date: 2008-07-25 15:27:46

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v1
Hi

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.


 drivers/md/linear.c         |  122 +++++++++++++++++-------------------------
 include/linux/raid/linear.h |   10 ++--
 2 files changed, 55 insertions(+), 77 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help