From: Andre Noll <maan@systemlinux.org>
To: linux-raid@vger.kernel.org
Subject: [PATCH 0/4] more sector_t conversions
Date: Fri, 18 Jul 2008 14:00:15 +0200 [thread overview]
Message-ID: <1216382419-2560-1-git-send-email-maan@systemlinux.org> (raw)
Hi
here's the next batch of patches against Neil's for-next branch that
change some of the remaining 1k-based representations to sector-based
representations.
Patch #1 fixes what I believe is a bug in the check for overlapping
partitions. This patch might also be suitable for -stable while #2-#4
are definitely material for -next.
Patch #2 changes the rdev_size_change function pointer of struct
super_type. The patched version takes the number of sectors instead
of the number of blocks.
Patches #3 and #4 convert the array_size fields of struct mddev_s
and of struct linear_private_data to sector-based representations
respectively.
Please review.
Andre
---
drivers/md/faulty.c | 2 +-
drivers/md/linear.c | 18 +++++++-------
drivers/md/md.c | 52 ++++++++++++++++++++----------------------
drivers/md/multipath.c | 2 +-
drivers/md/raid0.c | 8 +++---
drivers/md/raid1.c | 10 ++++----
drivers/md/raid10.c | 2 +-
drivers/md/raid5.c | 14 +++++-----
include/linux/raid/linear.h | 2 +-
include/linux/raid/md_k.h | 2 +-
10 files changed, 55 insertions(+), 57 deletions(-)
next reply other threads:[~2008-07-18 12:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-18 12:00 Andre Noll [this message]
2008-07-18 12:00 ` [PATCH 1/4] md: Fix check for overlapping devices Andre Noll
2008-07-18 12:00 ` [PATCH 2/4] md: Make super_type->rdev_size_change() take sector-based sizes Andre Noll
2008-07-18 12:00 ` [PATCH 3/4] md: Make mddev->array_size sector-based Andre Noll
2008-07-21 10:29 ` Neil Brown
2008-07-21 15:42 ` Andre Noll
2008-07-18 12:00 ` [PATCH 4/4] md: linear: Make array_size sector-based and rename it to array_sectors Andre Noll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1216382419-2560-1-git-send-email-maan@systemlinux.org \
--to=maan@systemlinux.org \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).