summaryrefslogtreecommitdiffstats
path: root/mdmon.c
AgeCommit message (Expand)AuthorFilesLines
2020-11-25mdadm: Unify forks behaviourMariusz Tkaczyk1-8/+1
2019-02-28mdmon: wait for previous mdmon to exit during takeoverPawel Baldysiak1-3/+11
2017-04-05mdmon: Stop bothering about md_get_version()Jes Sorensen1-4/+0
2017-03-27mdadm/mdmon:deleted the abort_reshape never invokedZhilong Liu1-5/+0
2016-01-15Add casts for the addr arg of connect and bindKhem Raj1-1/+1
2015-02-12Change way of printing name of a processPawel Baldysiak1-0/+2
2014-08-07mdmon: don't include super0 and super1 in mdmonNeilBrown1-0/+7
2014-07-03mdmon: ensure Unix domain socket is created with safe permissions.NeilBrown1-0/+1
2014-01-21mdmon: don't complain about notifying parent when there is no needNeilBrown1-4/+7
2013-09-12mdmon: honour --offroot, againmwilck@arcor.de1-1/+1
2013-08-01mdmon: don't lie to systemd.NeilBrown1-4/+8
2013-06-19Remove lots of unnecessary white space.NeilBrown1-1/+1
2013-05-21pr_err for mdmon.NeilBrown1-20/+13
2013-04-26mdmon: Add missing option documentation to --help outputJes Sorensen1-1/+2
2013-02-21Discard devnum in favour of devnmNeilBrown1-46/+31
2013-02-05mdmon: add --foreground optionNeilBrown1-2/+7
2013-02-05Remove --offroot argument and default to always setting argv[0] to @Jes Sorensen1-8/+6
2012-08-20mdmon: allow --takeover when original was started with --offrootNeilBrown1-1/+5
2012-08-20mdmon: fix arg processing for -aNeilBrown1-1/+1
2012-07-09Remove scattered checks for malloc success.NeilBrown1-2/+2
2012-07-09mdmon: fix arg parsing.NeilBrown1-1/+0
2012-01-30Add --offroot argument to mdmonJes Sorensen1-0/+8
2012-01-30mdmon: Use getopt_long() to parse command line optionsJes Sorensen1-11/+40
2011-11-07mdmon: avoid using victim_sock when it is -1.NeilBrown1-1/+6
2011-11-07Revert "mdmon(): Error out if failing to connect to victim monitor"NeilBrown1-7/+1
2011-11-01mdmon(): Error out if failing to connect to victim monitorJes Sorensen1-1/+7
2011-06-17Fix some compiler warnings.Luca Berra1-0/+6
2011-06-08Define dummy functions to mdmon.cAdam Kwolek1-0/+23
2011-05-17mdmon: Fix crash if /proc/mdstat lists 0.9 superblocksMichal Marek1-1/+2
2011-01-12Make child_monitor a candidate for ->manage_reshapeNeilBrown1-0/+9
2010-11-22Replace various load_super calls with load_containerNeilBrown1-1/+1
2010-11-22Remove subarray field in supertype.NeilBrown1-1/+0
2010-08-05Compile with -Wextra by defaultNeilBrown1-1/+1
2010-07-22Fix all the confusion over directories once and for all.Doug Ledford1-22/+6
2010-07-06mdmon: satisfy glibc tls abi requirements with pthreadsDan Williams1-3/+39
2010-07-01Merge branch 'fixes' into for-neilDan Williams1-2/+1
2010-06-16Always assume SKIP_GONE_DEVS behaviour and kill the flagDan Williams1-2/+1
2010-06-15Kill subarray v2Dan Williams1-23/+2
2010-03-24Create directory to contain mapfile (Assuming parent exists andDoug Ledford1-1/+1
2010-03-03mdmon: Check both RUN directories to find running mdmonNeilBrown1-12/+9
2010-03-03mdmon: check select a writable pid_dirLuca Berra1-13/+12
2010-03-03fix mdmon option parsingLuca Berra1-6/+10
2010-03-03Add _FORTIFY_SOURCE to mdadm.O2 build.NeilBrown1-1/+4
2010-02-08mdmon: insist on creating .pid file at startup.NeilBrown1-15/+29
2010-02-08mdmon: remove switch-root functionality.NeilBrown1-71/+23
2010-02-04mdmon: recognise --all in place of /proc/mdstatNeilBrown1-1/+2
2010-02-04mdmon: allow pid to be stored in different directory.NeilBrown1-12/+9
2010-02-04Having single function to read mdmon pid file.NeilBrown1-21/+3
2010-02-04mdmon: discard test_pidfile()NeilBrown1-12/+4
2010-02-04mdmon: improve switchroot handling.NeilBrown1-20/+41
2010-02-04mdmon: simplify try_kill_monitorNeilBrown1-8/+7
2010-02-04mdmon: remove scan variable from mdmon()NeilBrown1-7/+5
2010-01-29mdmon: fix fd leak and possible buffer overrun.NeilBrown1-5/+5
2009-10-19mdmon: lock current memory as well as future memory.NeilBrown1-1/+1
2009-10-13mdmon: preserve socket over chrootDan Williams1-4/+8
2009-10-13mdmon: exec(2) when the switchroot argument is not "/"Dan Williams1-0/+23
2009-10-13mdmon: avoid writes in the startup path for mdmon on root arraysDan Williams1-46/+32
2009-09-24mdmon: fix freeing unallocated memoryHans de Goede1-1/+1
2009-06-02Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown1-2/+2
2009-02-24mdmon: update cmdline when scanningDan Williams1-0/+7
2009-02-24mdmon: fix removed disk handlingDan Williams1-1/+1
2009-01-20mdmon: make switchroot an undecorated optionDan Williams1-9/+5
2009-01-20mdmon: support scanning for containersDan Williams1-22/+49
2009-01-20mdmon: expand permissible container device namesDan Williams1-3/+18
2009-01-13mdmon: fix missing ->subarray initializationDan Williams1-0/+1
2008-11-20mdmon: pass symbolic name to mdmon instead of device name.NeilBrown1-4/+13
2008-11-07A couple of bugfixes found by suse autobuilding:NeilBrown1-1/+13
2008-11-04Assemble: revert preliminary -As supportDan Williams1-0/+9
2008-11-04util: make env checking more genericNeilBrown1-1/+1
2008-10-28Preliminary -As support for container member arraysDan Williams1-9/+0
2008-10-28update copyright headersDan Williams1-0/+19
2008-10-15mdmon: suicide preventionDan Williams1-0/+4
2008-10-15quiet WaitClean()Dan Williams1-1/+1
2008-10-15mdmon: --switch-rootDan Williams1-55/+94
2008-10-15mdmon: wait after trying to killDan Williams1-22/+47
2008-10-15mdmon: terminate cleanDan Williams1-0/+19
2008-10-15mdmon: periodically retry to create the socketDan Williams1-2/+2
2008-10-15trivial warn_unused_result squashingDan Williams1-6/+16
2008-09-18Remove .sock file when removing .pid file for mdmonNeilBrown1-0/+2
2008-09-15mdmon: recreate socket/pid file on SIGHUPDan Williams1-9/+26
2008-08-19mdmon: remove devices from containerDan Williams1-1/+1
2008-07-24mdmon: don't fork if DEBUGDan Williams1-16/+32
2008-07-18mdmon: fork and run as a daemon.NeilBrown1-0/+38
2008-07-14mdmon: close small window of invalid mon_tidDan Williams1-6/+3
2008-07-12Keep container device open in monitorNeil Brown1-2/+0
2008-07-12Revise message passing code.Neil Brown1-1/+6
2008-07-12Remove mgr_pipe for communicating from manage to monitor.Neil Brown1-17/+22
2008-07-12Remove mon_pipe for communicating from monitor to managerNeil Brown1-6/+0
2008-06-16imsm: reenable mdmonDan Williams1-0/+2
2008-05-27Exit when there are no more arrays to manage.Neil Brown1-1/+10
2008-05-27Remove supertype->devfdNeil Brown1-1/+1
2008-05-27Remove stopped arrays.Neil Brown1-0/+6
2008-05-27Discard 'array_list' in mdmonNeil Brown1-1/+0
2008-05-15add infrastructure to receive higher order commands, like remove_deviceDan Williams1-7/+19
2008-05-15start fleshing out socket code, ping monitor to see if it is aliveDan Williams1-6/+51
2008-05-15Merge mdmonNeil Brown1-0/+222