aboutsummaryrefslogtreecommitdiffstats
path: root/mapfile.c
AgeCommit message (Expand)AuthorFilesLines
2023-09-01Add secure gethostname() wrapperBlazej Kucman1-2/+1
2023-05-08mdadm: define DEV_MD_DIRMariusz Tkaczyk1-6/+6
2023-02-28Fix NULL dereference in super_by_fdLi Xiao Keng1-0/+4
2021-07-16mdadm: Fix building errorsXiao Ni1-1/+1
2018-07-19mapfile: set *mapp to NULL after map_freeGuoqing Jiang1-0/+1
2018-06-11Free map to avoid resource leak issuesGuoqing Jiang1-0/+2
2017-05-16mdadm: Fixup more broken logical operator formattingJes Sorensen1-2/+2
2016-06-03Use dev_t for devnm2devid and devid2devnmMike Lovell1-1/+1
2015-12-03make sure 'path' buffer is large enough to fit 200 characters plus null termi...Bas van Schaik1-1/+1
2014-11-03Rebuildmap: strip local host name from device name.NeilBrown1-3/+10
2013-06-19Remove lots of unnecessary white space.NeilBrown1-4/+2
2013-02-21Discard devnum in favour of devnmNeilBrown1-36/+27
2012-10-04Handles spaces in array names better.NeilBrown1-1/+1
2012-08-20mapfile: fix mapfile rebuild for containersNeilBrown1-1/+6
2012-07-09Remove scattered checks for malloc success.NeilBrown1-3/+3
2012-05-17RebuildMap: check that container_content returns a valid 'info'.NeilBrown1-0/+2
2012-05-03Adjust to new standard of /runNeilBrown1-11/+3
2012-03-08Reset bad flag on map updateCzarnowska, Anna1-0/+1
2011-11-01Remove duplicated code: search_mdstat and conf_matchNeilBrown1-1/+3
2011-10-03fix: correct unlocking of map fileLukasz Dorau1-0/+12
2011-02-01Various compile fixes.NeilBrown1-1/+1
2010-11-22Improve mddev_ident type definitions.NeilBrown1-1/+1
2010-11-22Use new container_content rather than passing subarray to load_super.NeilBrown1-9/+11
2010-11-22mapinfo: simplify subarray handling.NeilBrown1-17/+7
2010-11-22get_info_super: report which other devices are thought to be working/failed.NeilBrown1-1/+1
2010-08-06mapfile: just have one place to store the mapfileNeilBrown1-46/+38
2010-07-28Some fixes to the mapfile code.NeilBrown1-17/+25
2010-07-28Bugfix: mapfile locking is broken/racyNeilBrown1-3/+16
2010-07-22Fix all the confusion over directories once and for all.Doug Ledford1-10/+8
2010-06-16Always assume SKIP_GONE_DEVS behaviour and kill the flagDan Williams1-2/+3
2010-04-19Create: cleanup after failed create in duplicated array member caseDan Williams1-0/+10
2010-03-24Only signal a udev change event if we actually write a mapfile in RebuildMapDoug Ledford1-6/+8
2010-03-24mapfile: if we putting the mapfile in a custom location via ALT_RUN, allowDoug Ledford1-1/+1
2010-03-24Create directory to contain mapfile (Assuming parent exists andDoug Ledford1-4/+13
2010-02-08mapfile: use ALT_RUN as alternate place to store mapfileNeilBrown1-4/+4
2010-01-29mapfile: fix locking.NeilBrown1-2/+5
2009-10-01Fix null-dereference in set_member_infoNeilBrown1-6/+9
2009-07-31fix RebuildMap() to retrieve 'subarray' infoDan Williams1-1/+31
2009-05-11mapfile - when rebuilding, choose an appropriate name is none is found.NeilBrown1-1/+84
2009-05-11mapfile - Fix off-by-one error in RebuildMapNeilBrown1-1/+1
2009-05-11mapfile: allow the path name to the device to be empty.NeilBrown1-5/+8
2009-04-14Merge branch 'master' of git://github.com/djbw/mdadm into devel-3.0NeilBrown1-1/+4
2009-04-14mapfile: optionally store map file in /devNeilBrown1-44/+51
2009-04-12RebuildMap: handle missing disksDan Williams1-1/+4
2009-01-08Merge branch 'master' into scratch-3.0NeilBrown1-0/+1
2009-01-08Free mdstat data structures properly.NeilBrown1-0/+1
2008-12-18Merge branch 'master' into devel-3.0NeilBrown1-0/+59
2008-12-18map: rebuild map if it doesn't exist.NeilBrown1-0/+53
2008-11-04mapfile: validate entries before they are returned.NeilBrown1-10/+29
2008-11-04mdopen: use small sequence number for uniquifying array names.NeilBrown1-0/+15
2008-11-04Incremental: lock against multiple concurrent additions to an array.NeilBrown1-0/+37
2008-11-04Manage: when stopping an array, delete all names from /dev.NeilBrown1-0/+11
2008-11-04Always update mdadm/map when starting an array.NeilBrown1-1/+2
2008-11-03Merge branch 'master' into scratch-3.0NeilBrown1-1/+1
2008-11-03mapfile: fix bug in testing for /var/run/mdadm/NeilBrown1-1/+1
2008-09-18Lots of fixes to make incremental assembly of containers work.NeilBrown1-3/+5
2008-07-12Use text_version in map_file rather than major.minor.Neil Brown1-14/+13
2006-12-21Add new mode: --incrementalNeil Brown1-0/+197