summaryrefslogtreecommitdiffstats
path: root/super-intel.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-03-09load_sys(): Add a buffer size argumentJes Sorensen1-3/+3
2016-02-22super-intel: ensure suspended region is removed when reshape completes.NeilBrown1-2/+6
2016-01-07imsm: don't update migration record when reshape is interruptedArtur Paszkiewicz1-2/+2
2016-01-07imsm: use timeout when waiting for reshape progressArtur Paszkiewicz1-1/+2
2016-01-06IMSM: Add support for VMDPawel Baldysiak1-14/+110
2015-12-24imsm: abort reshape if sync_action is not "reshape"Artur Paszkiewicz1-2/+4
2015-10-08imsm: don't call abort_reshape() in imsm_manage_reshape()Artur Paszkiewicz1-1/+0
2015-07-02mdstat: discard 'dev' field, just use 'devnm'NeilBrown1-3/+3
2015-04-09IMSM: Count arrays per oromPawel Baldysiak1-27/+58
2015-03-04imsm: simplified multiple OROMs supportArtur Paszkiewicz1-10/+8
2015-03-04write_super_imsm_spares(): C statements are terminated by ;Jes Sorensen1-6/+6
2015-02-12Don't break long strings onto multiple lines.NeilBrown1-153/+70
2015-02-12Consistently print program Name and __func__ in debug messages.NeilBrown1-116/+93
2015-02-12Change way of printing name of a processPawel Baldysiak1-1/+1
2015-01-29IMSM: Clear migration record on disks more oftenPawel Baldysiak1-0/+26
2014-11-25imsm: detail-platform improvementsArtur Paszkiewicz1-29/+64
2014-11-25imsm: add support for NVMe devicesPawel Baldysiak1-4/+7
2014-11-25imsm: support for OROMs shared by multiple HBAsArtur Paszkiewicz1-40/+94
2014-07-21IMSM: move "validate_container_imsm" to be included in mdassemblePawel Baldysiak1-41/+41
2014-07-10IMSM: validate metadata_update size before using it.NeilBrown1-3/+41
2014-07-10mdmon: allow prepare_update to report failure.NeilBrown1-4/+5
2014-07-08IMSM: Add warning message when assemble spanned containerPawel Baldysiak1-0/+43
2014-07-03IMSM: use strcpy rather than pointless strncpy.NeilBrown1-1/+1
2014-06-03imsm: retry load_and_parse_mpb if we suspect mdmon has made modificationsArtur Paszkiewicz1-0/+17
2014-01-21IMSM: don't crash when creating an array with missing devices.NeilBrown1-0/+2
2013-11-20IMSM metadata really should be ignored when found on partitions.NeilBrown1-1/+1
2013-08-01Grow: exit background thread cleanly on SIGTERM.NeilBrown1-0/+2
2013-07-30Manage: remove call to validate_geometry.NeilBrown1-5/+5
2013-07-11IMSM: fix wait_for_reshape_imsmNeilBrown1-4/+4
2013-07-01New function: sysfs_waitNeilBrown1-4/+1
2013-06-19Remove lots of unnecessary white space.NeilBrown1-50/+23
2013-05-21More conversion to pr_errNeilBrown1-10/+10
2013-05-21Change some fprintf(stderrs to cont_err()NeilBrown1-3/+3
2013-05-21Change some "fprintf(stderr,"s to pr_err.NeilBrown1-1/+1
2013-05-16Add --dump / --restore functionality.NeilBrown1-0/+54
2013-05-16intel,ddf: don't require partitions when ignore_hw_compat is set.NeilBrown1-1/+1
2013-04-22imsm: monitor: do not finish migration if there are no failed disksPrzemyslaw Czarnowski1-1/+8
2013-02-21Discard devnum in favour of devnmNeilBrown1-44/+37
2013-01-07platform-intel - cache 'intel_devices' for a few seconds.NeilBrown1-25/+5
2012-11-20imsm: Forbid spanning between multiple controllers.Marcin Tomczak1-17/+8
2012-11-20IMSM - allow assembling any imsm array even without OROM.NeilBrown1-10/+4
2012-10-10Replace a lot of leading spaces with tabs.NeilBrown1-9/+9
2012-10-04imsm: allow --assume-clean to work.NeilBrown1-1/+2
2012-10-04Allow data-offset to be specified per-device for createNeilBrown1-1/+2
2012-10-04Add data_offset arg to ->init_super and use it in super1.cNeilBrown1-3/+11
2012-10-04Add data_offset arg to ->validate_geometry.NeilBrown1-6/+13
2012-10-04Add data_offset arg to ->avail_sizeNeilBrown1-2/+3
2012-10-04imsm: Allow to specify controller for --detail-platform.Maciej Naruszewicz1-20/+25
2012-10-02imsm: Add --export option for --detail-platformMaciej Naruszewicz1-0/+70
2012-09-20fix: imsm: do not accept too small sizesLukasz Dorau1-0/+7
2012-09-20fix: imsm: re-enable size expansion to the max valueLukasz Dorau1-1/+1
2012-07-09Change the values for "max size" from -1 to 1.NeilBrown1-7/+8
2012-07-09Convert 'quiet' to 'not verbose' in various places.NeilBrown1-11/+11
2012-07-09Remove scattered checks for malloc success.NeilBrown1-296/+80
2012-07-09Introduce pr_err for printing error messages.NeilBrown1-212/+164
2012-05-29imsm: fix: correct checking volume's degradationLukasz Dorau1-2/+4
2012-05-18imsm: fix: check if size of expansion is not larger than maximumLukasz Dorau1-15/+32
2012-05-18imsm: fix a typo in fprintf messageLukasz Dorau1-1/+1
2012-05-07super-intel.c: Fix resource leak from opendir()Jes Sorensen1-0/+1