summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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-04-11tests/func.sh: Fix some total breakage in the test scriptsJes Sorensen2-20/+4
2018-04-10imsm: Allow create RAID volume with link to containerMichal Zylowski1-1/+1
2018-04-10mdadm: fix use-after-free after free_mdstatZhipeng Xie1-1/+2
2018-03-22mdadm: 4.1-rc1Jes Sorensen6-14/+46
2018-03-22makedist: Fix to handle rc releasesJes Sorensen1-3/+3
2018-03-22imsm: fix assemble with ppl during rebuildArtur Paszkiewicz1-31/+68
2018-03-08clustermd_tests: add test case to test switch-recovery against cluster-raid10Zhilong Liu1-0/+21
2018-03-08clustermd_tests: add test case to test switch-recovery against cluster-raid1Zhilong Liu1-0/+21
2018-03-08clustermd_tests: add test case to test switch-resync against cluster-raid10Zhilong Liu1-0/+18
2018-03-08clustermd_tests: add test case to test switch-resync against cluster-raid1Zhilong Liu1-0/+18
2018-03-08clustermd_tests: add test case to test manage_re-add against cluster-raid10Zhilong Liu1-0/+18
2018-03-08clustermd_tests: add test case to test manage_re-add against cluster-raid1Zhilong Liu1-0/+18
2018-03-08clustermd_tests: add test case to test manage_add-spare against cluster-raid10Zhilong Liu1-0/+30
2018-03-08clustermd_tests: add test case to test manage_add-spare against cluster-raid1Zhilong Liu1-0/+30
2018-03-08clustermd_tests: add test case to test manage_add against cluster-raid10Zhilong Liu1-0/+33
2018-03-08clustermd_tests: add test case to test manage_add against cluster-raid1Zhilong Liu1-0/+33
2018-03-08clustermd_tests: add test case to test grow_add against cluster-raid1Zhilong Liu1-0/+68
2018-03-08clustermd_tests: add test case to test switching bitmap against cluster-raid10Zhilong Liu1-0/+51
2018-03-08clustermd_tests: add test case to test switching bitmap against cluster-raid1Zhilong Liu1-0/+51
2018-03-08manpage: add prompt in --zero-superblock against clustered raidZhilong Liu1-0/+4
2018-03-08mdadm/clustermd_tests: delete meaningless commands in checkZhilong Liu1-2/+0
2018-03-08mdadm/clustermd_tests: add nobitmap in checkZhilong Liu1-0/+7
2018-03-08mdadm/test: add do_clean to ensure each case only catch its own testlogZhilong Liu3-6/+15
2018-03-08mdadm/test: add disk metadata infos in save_logZhilong Liu2-0/+4
2018-03-08mdadm/test: improve filtering r10 from raid1 in raidtypeZhilong Liu1-1/+1
2018-03-08Assemble: cleanup the failure pathGuoqing Jiang1-40/+22
2018-03-08Assemble: provide protection when clustered raid do assembleGuoqing Jiang1-1/+31
2018-03-08mdadm: improve the dlm locking mechanism for clustered raidGuoqing Jiang4-61/+68
2018-02-23Add one sanity check for missing deviceXiao Ni2-0/+8
2018-02-23mdadm: prevent out-of-date reshaping devices from force assembleBingJing Chang1-2/+20
2018-02-20imsm: update product name in error messageMichal Zylowski1-1/+1
2018-02-01Add udev-md-raid-safe-timeouts.rulesJonathan Underwood1-0/+61
2018-01-26Subdevs can't be all missing when create raid deviceXiao Ni1-0/+4
2018-01-25Grow.c: Block any level migration with chunk size changeMariusz Tkaczyk1-0/+5
2018-01-21Assemble: prevent segfault with faulty "best" devicesAndrea Righi1-2/+2
2018-01-21mdadm/clustermd_tests: add test case to test grow_resize cluster-raid10Zhilong Liu1-0/+38
2018-01-21mdadm/clustermd_tests: add test case to test creating cluster-raid10Zhilong Liu1-0/+50
2018-01-21mdadm/clustermd_tests: add test case to test grow_resize cluster-raid1Zhilong Liu1-0/+23
2018-01-21mdadm/clustermd_tests: add test case to test creating cluster-raid1Zhilong Liu1-0/+50
2018-01-21mdadm/test: add '--testdir=' to switch choosing test suiteZhilong Liu2-6/+28
2018-01-21mdadm/test: enable clustermd testing under clustermd_tests/Zhilong Liu2-0/+365
2018-01-21mdadm/test: move some functions to new source fileZhilong Liu2-349/+352
2018-01-21mdadm/test: correct the logic operation in save_logZhilong Liu1-5/+4
2018-01-21policy.c: Avoid to take spare without defined domain by imsmMariusz Tkaczyk1-0/+4
2018-01-21imsm: update name in --detail-platformArtur Paszkiewicz1-0/+2
2018-01-21mdadm: allow clustered raid10 to be created with default layoutGuoqing Jiang1-1/+1
2017-12-07managemon: Don't add disk to the array after it has startedTomasz Majchrzak1-21/+0
2017-11-28mdadm/grow: correct the s->size > 1 to make 'max' workZhilong Liu1-1/+1
2017-11-21imsm: continue resync on 3-disk RAID10Maksymilian Kunt1-8/+33
2017-11-21Monitor/msg: Don't print error message if mdmon doesn't runMariusz Tkaczyk4-9/+8
2017-11-09sysfs: include faulty drive in disk countMariusz Tkaczyk1-1/+1
2017-11-09imsm: More precise message when spanned raid is createdMichal Zylowski1-2/+1
2017-11-09To support clustered raid10Guoqing Jiang4-2/+25
2017-11-02imsm: fix reading scsi serialArtur Paszkiewicz1-0/+3
2017-11-01Incremental: Use ->validate_geometry instead of ->avail_sizeNeilBrown1-6/+9
2017-11-01systemd: add %I to description of mdadm-last-resort services.NeilBrown2-2/+2
2017-11-01mdadm/mdopen: create new function create_named_array for writing to new_arrayZhilong Liu1-20/+27
2017-10-11mdadm/grow: adding a test to ensure resize was requiredZhilong Liu1-2/+2
2017-10-10Move mdadm_env.sh out of /usr/lib/systemdNeilBrown2-2/+3
2017-10-10mdcheck: improve cleanupNeilBrown1-1/+1
2017-10-10mdcheck: add some logging.NeilBrown1-2/+7
2017-10-10mdadm/mdstat: correct the strncmp number 4 as 6Zhilong Liu1-1/+1
2017-10-10mdadm/mdstat: fixup a number of '==' broken formattingZhilong Liu1-19/+20
2017-10-10mdadm/test: Add one test case for raid5 reshapeXiao Ni2-0/+24
2017-10-04mdmon: get safe mode delay file descriptor earlyTomasz Majchrzak2-3/+14
2017-10-03imsm: Set disk slot numberMariusz Tkaczyk1-0/+3
2017-10-02Grow: Use all 80 charactersJes Sorensen1-220/+197
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-02Grow: fix switching on PPL during recoveryPawel Baldysiak1-3/+0
2017-10-02imsm: switch to multiple ppls automatically during assemblePawel Baldysiak1-0/+30
2017-10-02Zeroout whole ppl space during creation/force assemblePawel Baldysiak4-1/+61
2017-10-02imsm: validate multiple ppls during assemblePawel Baldysiak1-24/+47
2017-10-02imsm: Add support for multiple pplsPawel Baldysiak1-10/+27
2017-10-02super1: Add support for multiple-pplsPawel Baldysiak1-28/+37
2017-10-02Don't abort starting the array if kernel does not support pplArtur Paszkiewicz3-9/+12
2017-10-02mdadm: fixes some trivial typos in commentsZhilong Liu2-5/+5
2017-10-02mdadm/manpage: disable bitmap_resize for external file bitmapZhilong Liu1-0/+5
2017-10-02mdadm/grow: Component size must be larger than chunk sizeZhilong Liu1-0/+6
2017-10-02Monitor: Check redundancy for arraysMariusz Tkaczyk1-4/+4
2017-10-02imsm: New disk controller domainsMariusz Tkaczyk1-0/+4
2017-10-02Grow: stop previous reshape process firstTomasz Majchrzak1-2/+2
2017-10-02Close mdfd before returning main functionXiao Ni1-0/+2
2017-09-29util: Code is 80 characters wideJes Sorensen1-12/+21
2017-09-29Manage_subdevs(): Use a dev_tJes Sorensen1-1/+1
2017-09-29sysfs_init_dev - take a dev_t argumentJes Sorensen2-2/+2
2017-09-29lib: devid2kname() should take a dev_tJes Sorensen2-4/+3
2017-09-27mdopen: call "modprobe md_mod" if it might be needed.NeilBrown1-0/+4
2017-09-01mdadm/test: add new testcase for testing readonly/readwriteZhilong Liu1-0/+22
2017-09-01mdadm/test: get rid of tests/checkZhilong Liu1-35/+0
2017-09-01mdadm/test: get rid of the tests/testdevZhilong Liu1-13/+0
2017-09-01mdadm/test: use the first element of array as parsing conditionZhilong Liu1-1/+1
2017-09-01mdadm/bitmap: examine-bitmap failed when bitmap is external modeZhilong Liu1-5/+7
2017-09-01mdadm: set journal_clean after scanning all disksSong Liu1-2/+6
2017-08-29mdadm: install two more udev rules in mdadm.specSong Liu1-0/+2
2017-08-23Detail: differentiate between container and inactive arraysMariusz Tkaczyk1-5/+11
2017-08-16Monitor: Include containers in spare migrationMariusz Tkaczyk1-1/+1
2017-08-16Monitor: containers don't have the same sysfs properties as arraysMariusz Tkaczyk1-18/+28
2017-08-16Don't use exit(ERANGE)NeilBrown1-1/+1
2017-08-16super1: only set clustered flag when bitmap is presentNeilBrown1-2/+2
2017-08-16Use correct syntax for passing DEVLINKS to mdadm from udevNeilBrown2-2/+2
2017-08-16Error messages should end with a newline character.NeilBrown4-6/+6
2017-08-16imsm: rebuild from 2-disk RAID10Tomasz Majchrzak1-10/+67
2017-08-16Detail: correct output for active arraysMariusz Tkaczyk3-14/+17
2017-08-02udev rules: introduce rules for cluster-md to confirm deviceGuoqing Jiang2-2/+25
2017-08-02mdadm/r5cache: allow adding journal to array without journalSong Liu2-9/+2
2017-07-27super1: Always round data offset to 1MPawel Baldysiak1-2/+1
2017-07-10Monitor: don't assume mdadm parameter is a block deviceTomasz Majchrzak1-2/+11
2017-07-10mdadm/test: Add '--disks=' to support testing phsical devicesZhilong Liu1-5/+32
2017-07-10mdadm/test: Add '--raidtype=' to run different raidlevel casesZhilong Liu1-0/+31
2017-07-10mdadm/test: Refactor and revamp 'test' scriptZhilong Liu1-180/+228
2017-06-09mdadm/test: Convert code format to use TabZhilong Liu1-324/+378
2017-06-09Grow: don't allow to enable PPL when reshape is in progressTomasz Majchrzak1-0/+12
2017-06-09Grow: don't allow array geometry change with ppl enabledTomasz Majchrzak1-0/+7
2017-06-05Get failed disk count from array stateTomasz Majchrzak6-26/+17
2017-06-05Grow: set component size prior to array sizeTomasz Majchrzak1-0/+2
2017-06-02md_u: Remove unused ioctl declaration of START_ARRAYZhilong Liu1-1/+0
2017-05-26super1: fix sb->max_dev when adding a new disk in linear arrayLidong Zhong1-1/+6
2017-05-24Detail: don't exit if ioctl has been successfulTomasz Majchrzak2-13/+16
2017-05-19manpage: bad block support for IMSMTomasz Majchrzak1-2/+2
2017-05-16mdadm: Fixup != broken formattingJes Sorensen6-22/+24
2017-05-16mdadm: Fix '==' broken formattingJes Sorensen5-16/+16
2017-05-16mdadm: Fixup more broken logical operator formattingJes Sorensen11-38/+38
2017-05-16mdadm: Fixup a large number of bad formatting of logical operatorsJes Sorensen9-90/+76
2017-05-16super-ddf: sysfs_read() takes a pointer as device name argumentJes Sorensen1-1/+1
2017-05-16mdadm: Uninitialized variable rdevJames Puthukattukaran1-1/+1
2017-05-11Monitor: Fixup a pile of whitespace issuesJes Sorensen1-55/+55
2017-05-11Monitor: mailfrom is initialized correctlyJes Sorensen1-1/+1
2017-05-11Monitor: Not much point declaring mdlist in both forks of the if() statementJes Sorensen1-2/+3
2017-05-11retire the APIs that driver no longer supportsZhilong Liu2-8/+0
2017-05-11IMSM: Correct --examine output for 4k disksMaksymilian Kunt1-2/+5
2017-05-09Monitor/check_array: Use working_disks from sysfsJes Sorensen1-2/+2
2017-05-09sysfs/sysfs_read: Count working_disksJes Sorensen1-6/+9
2017-05-09Monitor/check_array: Get nr_disks, active_disks and spare_disks from sysfsJes Sorensen1-7/+7
2017-05-09Monitor/check_array: Get array_disks from sysfsJes Sorensen1-2/+2
2017-05-09Monitor/check_array: Get 'failed_disks' from sysfsJes Sorensen1-3/+4
2017-05-09Monitor/check_array: Obtain RAID level from syfsJes Sorensen1-3/+3
2017-05-09Monitor/check_array: Read sysfs entry earlierJes Sorensen1-6/+10
2017-05-09Monitor/check_array: Declate mdinfo instance globallyJes Sorensen1-2/+2
2017-05-09Monitor/check_array: Reduce duplicated error handlingJes Sorensen1-24/+15
2017-05-09Monitor/check_array: Centralize exit pathJes Sorensen1-10/+14
2017-05-09Add sector size as spare selection criterionAlexey Obitotskiy5-3/+45
2017-05-09Allow more spare selection criteriaAlexey Obitotskiy5-41/+62
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-09mdadm/md.4: set page-length as 1000 to avoid warnings from grottyZhilong Liu1-0/+1
2017-05-08Monitor: Code is 80 characters per lineJes Sorensen1-34/+27
2017-05-08Monitor: Use md_array_active() instead of manually fiddling in sysfsJes Sorensen1-28/+11
2017-05-08Mention "endian" in documentation for --update=byte-orderNeilBrown1-1/+2
2017-05-05IncrementalScan: Use md_array_active() instead of md_get_array_info()Jes Sorensen1-2/+1
2017-05-05container_members_max_degradation: Switch to using syfs for disk infoJes Sorensen1-14/+14
2017-05-05sysfs/sysfs_read: Count active_disks and failed_disksJes Sorensen1-2/+8
2017-05-05Incremental: return is not a functionJes Sorensen1-1/+1
2017-05-05Fix typo in new udev rule.NeilBrown2-2/+2
2017-05-05mdadm/util: unify stat checking blkdev into functionZhilong Liu9-77/+41
2017-05-05mdadm/util: unify fstat checking blkdev into functionZhilong Liu10-74/+62
2017-05-04mdassemble: Kill off the last remainsJes Sorensen2-70/+4
2017-05-04kernel-patch: Remove obsolete kernel patches against 2.6Jes Sorensen5-339/+0
2017-05-03util: md_array_valid(): Introduce md_array_valid() helperJes Sorensen3-2/+26
2017-05-03change back 0644 permission for Grow.cZhilong Liu1-0/+0
2017-05-02Grow: Grow_continue_command: Avoid aliasing array variableJes Sorensen1-3/+3
2017-05-02IMSM: Initialize my_vol_raid_dev_num during vol creationPawel Baldysiak1-2/+9
2017-05-02Manage: Manage_ro(): Use md_array_active()Jes Sorensen1-4/+2
2017-05-02Incremental: Use md_array_active() to determine state of arrayJes Sorensen1-2/+1
2017-05-02Create: tell udev md device is not ready when first created.NeilBrown9-27/+86
2017-04-25Incremental: Cleanup some if() statement spaghettiJes Sorensen1-29/+21
2017-04-25Incremental: Use md_array_active() where applicableJes Sorensen1-3/+2
2017-04-25Detail: Reinstate support for not having sysfsJes Sorensen1-3/+5
2017-04-25Detail: Respect code lines are 80 character wideJes Sorensen1-101/+138
2017-04-25Detail: determine array state from sysfsJes Sorensen1-5/+4
2017-04-24Don't use UnSet with consistency_policyArtur Paszkiewicz4-16/+12
2017-04-21maps: Simplify implementation of map_name()Jes Sorensen1-4/+1
2017-04-21maps: Remove incorrect comment about strcmp()Jes Sorensen1-4/+0
2017-04-21Makefile: Default to -O2 optimizationJes Sorensen1-0/+1
2017-04-21Query: Quiet gcc since it cannot know errno != 0 in this caseJes Sorensen1-0/+3
2017-04-20Detail: ensure --export names are acceptable as shell variables.NeilBrown1-3/+9
2017-04-20systemd/mdadm-last-resort: use ConditionPathExists instead of ConflictsNeilBrown1-1/+1
2017-04-20Grow_continue_command: ensure 'content' is properly initialised.NeilBrown1-0/+1
2017-04-20mdadm: retire mdassemble in make everythingColy Li1-9/+2
2017-04-20util: Get rid of unused enough_fd()Jes Sorensen2-32/+0
2017-04-20maps: Use keyvalue for null terminator to indicate 'unset' valueJes Sorensen2-10/+9
2017-04-20maps: Terminate 'modes' map correctly.Jes Sorensen1-0/+1
2017-04-20util: Introduce md_array_active() helperJes Sorensen3-2/+31
2017-04-20sysfs: Parse array_state in sysfs_read()Jes Sorensen4-8/+37
2017-04-13Query: Use sysfs to obtain data if possibleJes Sorensen1-10/+22
2017-04-13Query: Handle error returned by fstat()Jes Sorensen1-7/+12
2017-04-12Detail: Fixup ugly if () foo() abuseJes Sorensen1-3/+5
2017-04-12Assemble: Remove obsolete test for kernels older than 2.4Jes Sorensen1-7/+0
2017-04-12Detail: Remove pre-2.6 code for printing info on rebuildingJes Sorensen1-16/+3
2017-04-12Assemble: Clean up start_array()Jes Sorensen1-39/+58
2017-04-12mdadm/manpage:clustered arrays don't support array-size yetZhilong Liu1-0/+2
2017-04-12mdadm/manpage:update manpage for readonly parameterZhilong Liu1-2/+3