From: Pawel Baldysiak <pawel.baldysiak@intel.com>
To: jes.sorensen@redhat.com
Cc: linux-raid@vger.kernel.org, Pawel Baldysiak <pawel.baldysiak@intel.com>
Subject: [PATCH v2 0/4] IMSM: Add support for 4Kn sector size drives
Date: Thu, 17 Nov 2016 14:58:34 +0100 [thread overview]
Message-ID: <1479391118-31600-1-git-send-email-pawel.baldysiak@intel.com> (raw)
This patch set adds support for IMSM with 4Kn sector size drives
First patch adds the generic function for receiving sector size,
rest are IMSM specific.
Internal calculation are still based on 512-bytes sector,
variables are converted during read/write from/to member drive.
Mixing of devices with different sector size is not allowed.
v2: Adjustments according to Jes' comments:
Patch 1/4: Fixed typo in original and copy-pasted function ("\b"->"\n");
Patch 2/4: Added missing "\n" at the end of error msg;
Patch 3/4, 4/4: Switched hardcoded 4k to #define;
Pawel Baldysiak (4):
Add function for getting member drive sector size
IMSM: Read and store device sector size
IMSM: Add support for 4Kn sector size drives
IMSM: 4Kn drives support - adapt general migration record
mdadm.h | 1 +
super-intel.c | 323 +++++++++++++++++++++++++++++++++++++++++++++-------------
super1.c | 3 +-
util.c | 18 +++-
4 files changed, 271 insertions(+), 74 deletions(-)
--
2.7.4
next reply other threads:[~2016-11-17 13:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-17 13:58 Pawel Baldysiak [this message]
2016-11-17 13:58 ` [PATCH v2 1/4] Add function for getting member drive sector size Pawel Baldysiak
2016-11-17 13:58 ` [PATCH v2 2/4] IMSM: Read and store device " Pawel Baldysiak
2016-11-17 13:58 ` [PATCH v2 3/4] IMSM: Add support for 4Kn sector size drives Pawel Baldysiak
2016-11-17 13:58 ` [PATCH v2 4/4] IMSM: 4Kn drives support - adapt general migration record Pawel Baldysiak
2016-11-17 14:30 ` [PATCH v2 0/4] IMSM: Add support for 4Kn sector size drives Jes Sorensen
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=1479391118-31600-1-git-send-email-pawel.baldysiak@intel.com \
--to=pawel.baldysiak@intel.com \
--cc=jes.sorensen@redhat.com \
--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).