aboutsummaryrefslogtreecommitdiffstats
path: root/super-intel.c
AgeCommit message (Expand)AuthorFilesLines
10 daysimsm: support RAID 10 with more than 4 drivesMateusz Kusiak1-2/+12
10 daysimsm: simplify imsm_check_attributes()Mateusz Kusiak1-90/+16
10 daysimsm: define RAID_10 attributeMateusz Kusiak1-0/+5
10 daysimsm: bump minimal versionMateusz Kusiak1-49/+38
10 daysimsm: refactor RAID level handlingMateusz Kusiak1-44/+67
10 daysimsm: add support for literal RAID 10Mateusz Kusiak1-19/+48
10 daysmdadm: use struct context in reshape_super()Mateusz Kusiak1-16/+27
10 daysmdadm: pass struct context for external reshapesMateusz Kusiak1-4/+2
2024-04-02imsm: drive encryption policy implementationBlazej Kucman1-0/+73
2024-04-02imsm: print disk encryption informationBlazej Kucman1-4/+38
2024-04-02mdadm: Move pr_vrb define to mdadm.hBlazej Kucman1-2/+0
2024-03-22mdadm: fix grow segfault for IMSMMariusz Tkaczyk1-2/+7
2024-03-22mdadm: Fix native --detail --exportMariusz Tkaczyk1-8/+8
2024-03-22mdadm: set swapuuid in all handlersMariusz Tkaczyk1-0/+1
2024-03-11imsm: test_and_add_device_policies() implementationMariusz Tkaczyk1-33/+90
2024-03-11mdadm: drop get_required_spare_criteria()Mariusz Tkaczyk1-41/+79
2024-03-11mdadm: Add functions for spare criteria verificationMariusz Tkaczyk1-3/+1
2024-02-29super-intel: respect IMSM_DEVNAME_AS_SERIAL flagKinga Tanska1-6/+6
2024-02-20Super-intel: Fix first checkpoint restartMateusz Kusiak1-0/+3
2024-02-09Revert "mdadm: remove container_enough logic"Mariusz Tkaczyk1-1/+31
2024-01-24super-intel: Remove inaccessible codeMateusz Kusiak1-17/+0
2024-01-24Replace "none" with macroMateusz Kusiak1-2/+2
2024-01-24Define sysfs max buffer sizeMateusz Kusiak1-7/+7
2023-12-19Remove all "if zeros"Mateusz Kusiak1-28/+0
2023-10-26mdadm: remove container_enough logicPawel Piatkowski1-31/+1
2023-10-26mdadm: Follow POSIX Portable Character SetMariusz Tkaczyk1-24/+23
2023-09-01imsm: Add reading vmd register for finding imsm capabilityMateusz Grzonka1-3/+8
2023-09-01Fix unsafe string functionsKinga Tanska1-3/+3
2023-09-01imsm: fix free space calculationsMariusz Tkaczyk1-20/+30
2023-09-01imsm: return free space after volume for expandMariusz Tkaczyk1-34/+37
2023-09-01imsm: move expand verification code into new functionMariusz Tkaczyk1-86/+101
2023-09-01imsm: introduce round_member_size_to_mb()Mariusz Tkaczyk1-10/+21
2023-09-01imsm: imsm_get_free_size() refactor.Mariusz Tkaczyk1-13/+14
2023-09-01imsm: move sum_extents calculations to merge_extents()Mariusz Tkaczyk1-18/+19
2023-08-07imsm: Fix possible segfault in check_no_platform()Mateusz Grzonka1-0/+5
2023-05-08enable RAID for SATA under VMDKevin Friedberg1-10/+18
2023-05-08mdadm: define DEV_MD_DIRMariusz Tkaczyk1-1/+1
2023-03-20Improvements for IMSM_NO_PLATFORM testing.NeilBrown1-3/+42
2023-03-08super-intel.c: fix memleak in find_disk_attached_hba()Wu Guanghao1-2/+2
2023-03-08isuper-intel.c: fix double free in load_imsm_mpb()Wu Guanghao1-0/+1
2023-01-04super-intel: make freesize not required for chunk size migrationKinga Tanska1-5/+5
2023-01-04Change update to enum in update_super and update_subarrayMateusz Kusiak1-8/+8
2023-01-04super-intel: refactor the code for enumMateusz Kusiak1-12/+25
2023-01-04Fix --update-subarray on active volumeMateusz Kusiak1-5/+0
2022-09-29mdadm: replace container level checking with inlineKinga Tanska1-2/+2
2022-08-22mdadm: Replace obsolete usleep with nanosleepMateusz Grzonka1-3/+3
2022-07-28mdadm: Remove dead code in imsm_fix_size_mismatchLukasz Florczak1-4/+0
2022-07-28mdadm: Fix array size mismatch after growLukasz Florczak1-1/+1
2022-06-24imsm: block changing slots during creationMariusz Tkaczyk1-11/+22
2022-06-24imsm: use same slot across containerMariusz Tkaczyk1-61/+108
2022-06-24imsm: introduce get_disk_slot_in_dev()Mariusz Tkaczyk1-11/+36
2022-06-14imsm: Remove possibility for get_imsm_dev to return NULLMateusz Grzonka1-75/+78
2022-04-04mdadm: add map_num_s()Mariusz Tkaczyk1-1/+1
2022-03-31mdadm: Fix double freeLukasz Florczak1-2/+1
2022-03-15Unify error message.Lukasz Florczak1-2/+2
2021-11-09imsm: assert if there is migration but prev_map doesn't existPawel Piatkowski1-14/+15
2021-11-09imsm: free allocated memory in imsm_fix_size_mismatchPawel Piatkowski1-0/+2
2021-11-02imsm: introduce helpers to manage file descriptorsMariusz Tkaczyk1-92/+75
2021-10-08Refactor parse_num and use it to parse optarg.Mateusz Grzonka1-5/+5
2021-07-27Assemble: start dirty and degraded array.Mariusz Tkaczyk1-4/+0
2021-07-27imsm: fix num_data_stripes after raid0 takeoverMariusz Tkaczyk1-62/+77
2021-07-16imsm: Fix possible memory leaks and refactor freeing struct dlMateusz Grzonka1-20/+19
2021-07-16Don't associate spares with other arrays during RAID ExamineOleksandr Shchirskyi1-55/+19
2021-07-16imsm: correct offset for 4k disks in --examine outputOleksandr Shchirskyi1-1/+1
2021-07-16Use dev_open in validate geometry containerBlazej Kucman1-1/+1
2021-05-26Manage: Call validate_geometry when adding drive to external containerMariusz Tkaczyk1-12/+7
2021-05-26imsm: Limit support to the lowest namespaceMariusz Tkaczyk1-62/+62
2021-05-26imsm: add devpath_to_char methodMariusz Tkaczyk1-18/+15
2021-05-26imsm: add generic method to resolve "device" linksMariusz Tkaczyk1-39/+24
2021-05-06Fix some building errorsXiao Ni1-3/+3
2021-05-06imsm: change wrong size verificationMariusz Tkaczyk1-5/+5
2021-04-14super-intel.c: Handle errors from calls to get_dev_sector_size()Jes Sorensen1-4/+10
2021-03-16imsm: nvme multipath supportBlazej Kucman1-14/+24
2021-03-16imsm: extend curr_migr_unit to u64Mariusz Tkaczyk1-41/+51
2021-03-09imsm: Update-subarray for write-intent bitmapJakub Radtke1-6/+17
2021-03-09imsm: Adding a spare to an existing array with bitmapJakub Radtke1-1/+36
2021-03-09imsm: Write-intent bitmap supportJakub Radtke1-2/+617
2021-03-08imsm: add verbose flag to compare_superMariusz Tkaczyk1-9/+12
2021-03-08imsm: use saved fds during migrationMariusz Tkaczyk1-154/+54
2020-11-25imsm: limit support to first NVMe namespaceMariusz Tkaczyk1-1/+10
2020-11-25imsm: remove redundant calls to imsm_get_mapMariusz Tkaczyk1-2/+0
2020-11-25imsm: update num_data_stripes according to dev_sizeMariusz Tkaczyk1-6/+78
2020-04-27Manage, imsm: Write metadata before addTkaczyk Mariusz1-23/+43
2020-03-17imsm: show Subarray and Volume ID in --examine outputArtur Paszkiewicz1-0/+3
2020-03-17imsm: support the Array Creation Time field in metadataArtur Paszkiewicz1-2/+9
2020-03-12imsm: Correct minimal device size.Blazej Kucman1-1/+4
2020-02-24imsm: Remove --dump/--restore implementationBlazej Kucman1-56/+0
2020-02-24imsm: pass subarray id to kill_subarray functionBlazej Kucman1-5/+4
2020-01-21imsm: fill working_disks according to metadata.Blazej Kucman1-3/+2
2019-12-02imsm: Change the way of printing nvme drives in detail-platform.Blazej Kucman1-51/+46
2019-12-02imsm: return correct uuid for volume in detailBlazej Kucman1-2/+18
2019-11-12super-intel: don't mark structs 'packed' unnecessarilyNeilBrown1-6/+26
2019-11-12imsm: allow to specify second volume sizeKrzysztof Smolinski1-10/+4
2019-10-04imsm: save current_vol numberMariusz Tkaczyk1-0/+2
2019-08-14imsm: close removed drive fd.Mariusz Tkaczyk1-0/+3
2019-07-09super-intel: Use put_unaligned in split_ullJes Sorensen1-3/+3
2019-07-09super-intel: Fix issue with abs() being irrelevantJes Sorensen1-2/+2
2019-05-20mdmon: fix wrong array state when disk fails during mdmon startupArtur Paszkiewicz1-1/+1
2019-04-10Create: Block rounding size to maxMariusz Tkaczyk1-3/+2
2019-04-10imsm: fix spare activation for old matrix arraysPawel Baldysiak1-9/+10
2019-02-11Fix spelling typos.Dimitri John Ledkov1-1/+1
2019-02-11imsm: fix reshape for >2TB drivesPawel Baldysiak1-42/+107
2019-02-11imsm: finish recovery when drive with rebuild failsMariusz Tkaczyk1-15/+11
2018-12-06imsm: update metadata correctly while raid10 double degradationMariusz Tkaczyk1-6/+19
2018-09-28imsm: block using partitionMariusz Tkaczyk1-0/+5
2018-09-27imsm: Block volume creation with empty nameRoman Sobanski1-1/+13
2018-06-08imsm: correct num_data_stripes in metadata map for migrationRoman Sobanski1-6/+10
2018-05-31imsm: Do not require MDADM_EXPERIMENTAL flag anymoreMichal Zylowski1-3/+0
2018-05-31imsm: Do not block volume creation when container has disks with mixed sector...Michal Zylowski1-0/+5
2018-05-30super-intel: Do not truncate last character of volume nameJes Sorensen1-3/+4
2018-05-30super-intel: Avoid gcc-8.1 complaining about truncating snprintf()Jes Sorensen1-1/+2
2018-05-29super-intel: Get rid of unnused stringJes Sorensen1-1/+0
2018-05-29super-intel: Use memcpy() to avoid confusing gccJes Sorensen1-1/+1
2018-05-29Do not confuse gccJes Sorensen1-1/+7
2018-05-29Fix misspelling of 'alignment' and 'geometry'Michal Zylowski1-15/+15
2018-04-25Prevent create IMSM volume with size smaller than 1M or chunkRoman Sobanski1-0/+10
2018-04-12imsm: do not use blocks_per_member in array size calculationsMariusz Dabrowski1-29/+76
2018-04-12imsm: pass already existing map to imsm_num_data_membersMariusz Dabrowski1-20/+21
2018-04-12imsm: add functions to get and set imsm dev sizeMariusz Dabrowski1-20/+21
2018-04-12imsm: change reserved space to 4MBMariusz Dabrowski1-2/+2
2018-03-22imsm: fix assemble with ppl during rebuildArtur Paszkiewicz1-31/+68
2018-02-20imsm: update product name in error messageMichal Zylowski1-1/+1
2018-01-21imsm: update name in --detail-platformArtur Paszkiewicz1-0/+2
2017-11-21imsm: continue resync on 3-disk RAID10Maksymilian Kunt1-8/+33
2017-11-09imsm: More precise message when spanned raid is createdMichal Zylowski1-2/+1
2017-10-03imsm: Set disk slot numberMariusz Tkaczyk1-0/+3
2017-10-02imsm: write initial ppl on a disk added for rebuildArtur Paszkiewicz1-1/+4
2017-10-02imsm: use correct map when validating pplArtur Paszkiewicz1-3/+3
2017-10-02imsm: always do ppl recovery when starting a rebuilding arrayArtur Paszkiewicz1-0/+3
2017-10-02imsm: Write empty PPL header if assembling regular clean array.Pawel Baldysiak1-1/+3
2017-10-02imsm: don't skip resync when an invalid ppl header is foundArtur Paszkiewicz1-2/+16
2017-10-02imsm: switch to multiple ppls automatically during assemblePawel Baldysiak1-0/+30
2017-10-02Zeroout whole ppl space during creation/force assemblePawel Baldysiak1-1/+6
2017-10-02imsm: validate multiple ppls during assemblePawel Baldysiak1-24/+47
2017-10-02imsm: Add support for multiple pplsPawel Baldysiak1-10/+27
2017-10-02Don't abort starting the array if kernel does not support pplArtur Paszkiewicz1-3/+1
2017-10-02imsm: New disk controller domainsMariusz Tkaczyk1-0/+4
2017-08-16imsm: rebuild from 2-disk RAID10Tomasz Majchrzak1-10/+67
2017-05-16mdadm: Fix '==' broken formattingJes Sorensen1-1/+1
2017-05-16mdadm: Fixup more broken logical operator formattingJes Sorensen1-2/+1
2017-05-16mdadm: Fixup a large number of bad formatting of logical operatorsJes Sorensen1-5/+5
2017-05-11IMSM: Correct --examine output for 4k disksMaksymilian Kunt1-2/+5
2017-05-09Add sector size as spare selection criterionAlexey Obitotskiy1-0/+2
2017-05-09Allow more spare selection criteriaAlexey Obitotskiy1-12/+21
2017-05-09imsm: don't allow disks with different sector size in one arrayAlexey Obitotskiy1-0/+24
2017-05-09imsm: allocate buffer to support maximum sector sizeAlexey Obitotskiy1-10/+11
2017-05-09imsm: allow drives in a container regardless of sector sizeAlexey Obitotskiy1-6/+0
2017-05-05mdadm/util: unify stat checking blkdev into functionZhilong Liu1-6/+4
2017-05-05mdadm/util: unify fstat checking blkdev into functionZhilong Liu1-10/+3
2017-05-02IMSM: Initialize my_vol_raid_dev_num during vol creationPawel Baldysiak1-2/+9
2017-04-24Don't use UnSet with consistency_policyArtur Paszkiewicz1-3/+1
2017-04-11Retire mdassembleJes Sorensen1-51/+1
2017-03-30imsm: use rounded size for metadata initializationTomasz Majchrzak1-18/+34
2017-03-29Add 'ppl' and 'no-ppl' options for --update=Artur Paszkiewicz1-0/+55
2017-03-29imsm: PPL supportArtur Paszkiewicz1-22/+252
2017-03-29Detail: show consistency policyArtur Paszkiewicz1-1/+1
2017-03-29Generic support for --consistency-policy and PPLArtur Paszkiewicz1-8/+8
2017-03-28mdadm: Forced type conversion to avoid truncationXiao Ni1-1/+1
2017-03-28Replace snprintf with strncpy at some places to avoid truncationXiao Ni1-3/+6
2017-01-26imsm: fix missing error message during migrationPawel Baldysiak1-1/+1
2017-01-09imsm: show correct size for arrays with 4k disksMaksymilian Kunt1-6/+12
2017-01-09imsm: count arrays under VMD HBAs correctlyAlexey Obitotskiy1-12/+36
2017-01-03IMSM: Fix signed/unsigned comparisonsPawel Baldysiak1-8/+9
2016-12-29imsm: enable bad block support for imsm metadataTomasz Majchrzak1-4/+4
2016-12-22IMSM: Do not update metadata if not able to migratePawel Baldysiak1-0/+5
2016-12-12imsm: set generation number when reading superblockMariusz Dabrowski1-0/+1
2016-12-12IMSM: Add support for Non-Intel NVMe drives under VMDPawel Baldysiak1-3/+9
2016-12-02imsm: 4kn support for bad block logTomasz Majchrzak1-0/+38
2016-12-02imsm: implement "--examine-badblocks" commandTomasz Majchrzak1-0/+56
2016-12-02imsm: provide list of bad blocks for an arrayTomasz Majchrzak1-0/+39
2016-12-02imsm: clear bad blocks if disk becomes unavailableTomasz Majchrzak1-7/+39
2016-12-02imsm: clear bad block from bad block logTomasz Majchrzak1-0/+53
2016-12-02imsm: record new bad block in bad block logTomasz Majchrzak1-8/+134
2016-12-02imsm: give md list of known bad blocks on startupTomasz Majchrzak1-0/+59
2016-12-02imsm: write bad block log on metadata syncTomasz Majchrzak1-5/+43
2016-12-02imsm: parse bad block log in metadata on startupTomasz Majchrzak1-46/+94
2016-11-28IMSM: Update num_data_stripes during migrationPawel Baldysiak1-7/+46
2016-11-17Increase buffer for sysfs disk stateTomasz Majchrzak1-2/+3
2016-11-17IMSM: 4Kn drives support - adapt general migration recordPawel Baldysiak1-26/+73
2016-11-17IMSM: Add support for 4Kn sector size drivesPawel Baldysiak1-45/+156
2016-11-17IMSM: Read and store device sector sizePawel Baldysiak1-0/+23
2016-10-26IMSM: Enable spanning between VMD domainsPawel Baldysiak1-16/+3
2016-10-26IMSM: Add warning message when x8-type device is usedPawel Baldysiak1-0/+44
2016-10-26imsm: load migration record from right diskTomasz Majchrzak1-9/+3
2016-10-19super-intel: Reduce excessive parenthesis abuseJes Sorensen1-72/+60
2016-10-19imsm: block chunk size change for RAID 10Mariusz Dabrowski1-2/+8
2016-10-07Fix some issues found by clangNeilBrown1-1/+1
2016-10-07imsm: retrieve nvme serial from sysfsArtur Paszkiewicz1-19/+27
2016-09-16imsm: remove redundant characters from some error messagesArtur Paszkiewicz1-13/+13
2016-09-15imsm: do not activate spares for uninitialized member arraysArtur Paszkiewicz1-0/+5
2016-06-16imsm: properly handle values of sync_completedAlexey Obitotskiy1-2/+34
2016-06-16imsm: add handling of sync_action is equal to 'idle'Alexey Obitotskiy1-1/+3
2016-05-19IMSM: retry reading sync_completed during reshapePawel Baldysiak1-5/+12
2016-03-30Introduce stat2kname() and fd2kname()Artur Paszkiewicz1-1/+5
2016-03-22super_intel: imsm_manage_reshape(): Fix potential NULL pointer dereferenceJes Sorensen1-1/+4
2016-03-22super-intel: Remove excessive NULL/0 variable initializationJes Sorensen1-30/+33
2016-03-11super-intel: Simplify for() loop in ahci_enumerate_portsPawel Baldysiak1-1/+4
2016-03-11super-intel: Make print_vmd_attached_devs() return int againPawel Baldysiak1-4/+9
2016-03-09super-intel: Make print_found_intel_controllers() return voidJes Sorensen1-4/+3
2016-03-09{platform,super}-intel: Fix two resource leaksJes Sorensen1-1/+5