linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] md: Make linear raid use sector_t for internal representations
@ 2008-08-21 13:35 Andre Noll
  2008-08-21 13:35 ` [PATCH 1/6] md: linear.c: Fix typo in comment Andre Noll
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Andre Noll @ 2008-08-21 13:35 UTC (permalink / raw)
  To: linux-raid; +Cc: neilb

[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.


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/6] md: Make linear raid use sector_t for internal representations
@ 2008-07-25 15:27 Andre Noll
  2008-07-25 15:27 ` [PATCH 3/6] md: linear.c: Remove broken debug code Andre Noll
  0 siblings, 1 reply; 8+ messages in thread
From: Andre Noll @ 2008-07-25 15:27 UTC (permalink / raw)
  To: linux-raid; +Cc: Andre Noll

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(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-08-21 13:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 13:35 [PATCH 0/6] md: Make linear raid use sector_t for internal representations Andre Noll
2008-08-21 13:35 ` [PATCH 1/6] md: linear.c: Fix typo in comment Andre Noll
2008-08-21 13:35 ` [PATCH 2/6] md: linear.c: Remove pointless initialization of curr_offset Andre Noll
2008-08-21 13:35 ` [PATCH 3/6] md: linear.c: Remove broken debug code Andre Noll
2008-08-21 13:35 ` [PATCH 4/6] md: linear: Represent dev_info->size and dev_info->offset in sectors Andre Noll
2008-08-21 13:35 ` [PATCH 5/6] md: linear.c: Make two local variables sector-based Andre Noll
2008-08-21 13:35 ` [PATCH 6/6] md: Convert remaining 1k representations in linear.c to sectors Andre Noll
  -- strict thread matches above, loose matches on Subject: below --
2008-07-25 15:27 [PATCH 0/6] md: Make linear raid use sector_t for internal representations Andre Noll
2008-07-25 15:27 ` [PATCH 3/6] md: linear.c: Remove broken debug code Andre Noll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).