From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pawel Baldysiak Subject: [PATCH v2 0/4] IMSM: Add support for 4Kn sector size drives Date: Thu, 17 Nov 2016 14:58:34 +0100 Message-ID: <1479391118-31600-1-git-send-email-pawel.baldysiak@intel.com> Return-path: Sender: linux-raid-owner@vger.kernel.org To: jes.sorensen@redhat.com Cc: linux-raid@vger.kernel.org, Pawel Baldysiak List-Id: linux-raid.ids 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