summaryrefslogtreecommitdiffstats
path: root/monitor.c
AgeCommit message (Expand)AuthorFilesLines
2022-08-07monitor: Avoid segfault when calling NULL get_bad_blocksLogan Gunthorpe1-0/+3
2022-04-04Replace error prone signal() with sigaction()Lukasz Florczak1-1/+0
2019-09-30mdadm: Introduce new array state 'broken' for raid0/linearGuilherme G. Piccoli1-2/+2
2017-05-16mdadm: Fixup a large number of bad formatting of logical operatorsJes Sorensen1-2/+2
2016-11-28mdmon: bad block support for external metadata - clear bad blocksTomasz Majchrzak1-2/+79
2016-11-28mdmon: bad block support for external metadata - store bad blocksTomasz Majchrzak1-0/+112
2016-11-28mdmon: bad block support for external metadata - sysfs file openTomasz Majchrzak1-1/+6
2016-11-17Increase buffer for sysfs disk stateTomasz Majchrzak1-2/+2
2016-06-16monitor: Make sure that last_checkpoint is set to 0 after syncPawel Baldysiak1-0/+3
2015-02-12Consistently print program Name and __func__ in debug messages.NeilBrown1-13/+12
2013-10-16Monitor: write meta data in readonly state, sometimesmwilck@arcor.de1-2/+1
2013-10-16Monitor: don't set arrays dirty after transition to read-onlymwilck@arcor.de1-7/+0
2013-07-31mdmon: wait_and_act: fix debug message for SIGUSR1Martin Wilck1-3/+10
2013-07-31monitor: read_and_act: log status when calledMartin Wilck1-0/+12
2013-07-09Monitor: Don't write metadata in inactive array statemwilck@arcor.de1-1/+2
2013-04-23monitor: treat unreadable array_state as cleanmwilck@arcor.de1-3/+2
2013-04-23monitor: read_and_act: handle race conditions for resync_startmwilck@arcor.de1-7/+17
2013-04-23monitor: don't call pselect() on deleted sysfs filesmwilck@arcor.de1-0/+9
2013-02-21Discard devnum in favour of devnmNeilBrown1-3/+3
2012-01-03monitor: ensure we retry soon when 'remove' fails.NeilBrown1-6/+10
2012-01-03monitor: make return from read_and_act more symbolic.NeilBrown1-10/+10
2011-12-07monitor: don't unblock a device that isn't blocked.NeilBrown1-1/+2
2011-09-06FIX: Mdmon crashes after changing RAID level from 1 to 0Lukasz Dorau1-4/+4
2011-03-24FIX: imsm: Rebuild does not start on second failed diskKrzysztof Wojcik1-0/+4
2011-03-22mdmon: Stop keeping track of RAID0 (and LINEAR) arrays.NeilBrown1-1/+1
2011-03-22mdmon: don't wait for O_EXCL when shutting down.NeilBrown1-2/+14
2011-03-14Merge branch 'master' into devel-3.2NeilBrown1-0/+1
2011-03-14monitor: close recovery_fd when closing state_FdNeilBrown1-0/+1
2011-03-10FIX: Reset disk state if disk is missingKrzysztof Wojcik1-0/+1
2011-02-03FIX: Last checkpoint is not setAdam Kwolek1-0/+18
2011-01-26FIX: Reset disk state if disk is missingKrzysztof Wojcik1-0/+1
2011-01-17FIX: sync_completed == 0 causes reshape cancellation in metadataAdam Kwolek1-1/+3
2011-01-06Raid0: detect reshape on array startAdam Kwolek1-0/+7
2011-01-06Detect level changeAdam Kwolek1-1/+1
2010-12-16Handle checkpointing during reshapeNeilBrown1-3/+13
2010-12-16mdmon: when a reshape is detected, add any newly added devices to the array.NeilBrown1-2/+15
2010-12-07fix: mdadm -Ss for external metadata don't stop containerHawrylewicz Czarnowski, Przemyslaw1-0/+1
2010-06-15mdmon: record sync_completed directly to the metadataDan Williams1-3/+7
2010-05-14mdmon: periodically checkpoint recoveryDan Williams1-0/+33
2010-02-08mdmon: insist on creating .pid file at startup.NeilBrown1-1/+5
2009-12-21Introduce MaxSectorDan Williams1-1/+1
2009-12-21Add scaffolding for handling md/dev-XXX/recovery_startDan Williams1-1/+3
2009-12-14mdmon: cleanup resync_startDan Williams1-13/+6
2009-06-02Update copyright dates and remove references to @cse.unsw.edu.auNeilBrown1-2/+2
2009-04-14Wait for POLLPRI on /proc or /sys files.NeilBrown1-1/+1
2009-04-12mdmon: fix resync completion detectionDan Williams1-2/+4
2009-02-24mdmon: fix missed 'clean' eventDan Williams1-28/+21
2008-11-20mdmon: pass symbolic name to mdmon instead of device name.NeilBrown1-1/+1
2008-10-28update copyright headersDan Williams1-0/+19
2008-10-15mdmon: terminate cleanDan Williams1-6/+38
2008-10-15trivial warn_unused_result squashingDan Williams1-0/+1
2008-09-15monitor: clean up some debug messagesDan Williams1-2/+3
2008-09-15'mdadm --wait-clean' wait for array to be marked cleanDan Williams1-32/+7
2008-09-15monitor: don't mark dirty on resync completeDan Williams1-1/+1
2008-09-15monitor: mark clean on active-idleDan Williams1-3/+7
2008-08-19Allow an externally managed array to be marked readonlyNeilBrown1-8/+14
2008-08-19Extra option for set_array_state: you choose dirty or clean.NeilBrown1-11/+3
2008-08-15mdmon: handle failures versus readauto arraysDan Williams1-4/+20
2008-08-12mdmon: use activate spare for re-addDan Williams1-3/+8
2008-07-24imsm: handle degraded->normal transitions in set_diskDan Williams1-1/+0
2008-07-18monitor: call get_resync_start on array shutdown.NeilBrown1-0/+1
2008-07-18mdmon: ping will wait for manage_mon to catch up.NeilBrown1-0/+4
2008-07-18Make sure resync_start is initialised properly and maintained properlyNeil Brown1-1/+1
2008-07-14mdmon: close possibility of re-marking the metadata dirty on shutdownDan Williams1-2/+4
2008-07-14mdmon: notify metadata of recovery completionDan Williams1-0/+4
2008-07-12Make sure we remove pid file in monitor before manager exits.Neil Brown1-1/+1
2008-07-12Remove some noisy printfs.Neil Brown1-1/+1
2008-07-12Revise message passing code.Neil Brown1-1/+2
2008-07-12Remove mgr_pipe for communicating from manage to monitor.Neil Brown1-27/+10
2008-07-12Remove mon_pipe for communicating from monitor to managerNeil Brown1-3/+2
2008-07-12Handle device removal from containerNeil Brown1-43/+0
2008-06-16mdmon: add debug print statements for profiling mdmonDan Williams1-3/+48
2008-06-12Add DDF code for activate_spareNeil Brown1-7/+6
2008-06-12Support adding a spare to a degraded array.Neil Brown1-16/+5
2008-06-12Some fixes to make failures in ddf get handled properly.Neil Brown1-5/+5
2008-06-12Allow passing metadata update to the monitor.Neil Brown1-1/+13
2008-05-27Change mark_clean to set_array_state.Neil Brown1-3/+6
2008-05-27Discard get_sync_pos. We should be using get_resync_start.Neil Brown1-18/+2
2008-05-27Exit when there are no more arrays to manage.Neil Brown1-2/+19
2008-05-27Remove stopped arrays.Neil Brown1-12/+30
2008-05-27Implement mark_clean for ddf and remove mark_dirty and mark_syncNeil Brown1-6/+8
2008-05-15add infrastructure to receive higher order commands, like remove_deviceDan Williams1-5/+61
2008-05-15when failures happen they should be propagated to all member arraysDan Williams1-3/+43
2008-05-15handle disk failuresDan Williams1-17/+29
2008-05-15Flag arrays for deletion after they have been stopped.Dan Williams1-2/+14
2008-05-15handle resync completionDan Williams1-4/+3
2008-05-15start resync when transitioning from initial readonly stateDan Williams1-7/+24
2008-05-15Merge mdmonNeil Brown1-0/+372