]> git.ipfire.org Git - thirdparty/mdadm.git/commit
IMSM: 4Kn drives support - adapt general migration record
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Thu, 17 Nov 2016 13:58:38 +0000 (14:58 +0100)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 17 Nov 2016 14:26:17 +0000 (09:26 -0500)
commitde44e46fd4703ea286987d1d0cf775efa62700fd
tree64f0fa5fc62ca273cb6fd97f84ba162175f9aca8
parentf36a9ecdb5e3c8fef22a4a148df57893fa705696
IMSM: 4Kn drives support - adapt general migration record

Convert general migration record for 4Kn drives prior to write and post
read. Calculate record location based on sector size, don't just assume
it's 512. Assure buffer address is aligned to 4096 so write operation
avoids caching.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super-intel.c