From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Noll Subject: [PATCH 0/6] md: Make linear raid use sector_t for internal representations Date: Fri, 25 Jul 2008 17:27:46 +0200 Message-ID: <1216999672-4943-1-git-send-email-maan@systemlinux.org> Return-path: Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org Cc: Andre Noll List-Id: linux-raid.ids 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(-)