From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: Re: [PATCH v2 0/4] IMSM: Add support for 4Kn sector size drives Date: Thu, 17 Nov 2016 09:30:08 -0500 Message-ID: References: <1479391118-31600-1-git-send-email-pawel.baldysiak@intel.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1479391118-31600-1-git-send-email-pawel.baldysiak@intel.com> (Pawel Baldysiak's message of "Thu, 17 Nov 2016 14:58:34 +0100") Sender: linux-raid-owner@vger.kernel.org To: Pawel Baldysiak Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids Pawel Baldysiak writes: > 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(-) Looks good - applied! Thanks, Jes