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 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html