index
:
kernel/git/mtkaczyk/mdadm-test.git
cluster
data_offset
devel-3.0
devel-3.1
devel-3.2
devel-3.3
hotunplug
main
master
mdadm-2
mdadm-2.6.7.x
mdadm-3.2.x
mdadm-3.3.x
origin
r10-reshape
scratch-3.0
sles11
stable-1
Linux Software RAID known as Multiple Devices driver manager
Mariusz Tkaczyk
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util.c
Age
Commit message (
Expand
)
Author
Files
Lines
46 hours
Wait for mdmon when it is stared via systemd
Kinga Stefaniuk
1
-0
/
+29
46 hours
util.c: change devnm to const in mdmon functions
Kinga Stefaniuk
1
-2
/
+2
9 days
imsm: support RAID 10 with more than 4 drives
Mateusz Kusiak
1
-14
/
+25
2024-03-22
sysfs: remove vers parameter from sysfs_set_array
Mateusz Kusiak
1
-2
/
+1
2024-03-22
mdadm: Fix native --detail --export
Mariusz Tkaczyk
1
-11
/
+13
2024-03-12
util.c: add limits.h include for NAME_MAX definition
Alexander Kanavin
1
-1
/
+1
2024-03-11
Monitor, Incremental: use device policies
Mariusz Tkaczyk
1
-4
/
+9
2024-03-11
mdadm: Add functions for spare criteria verification
Mariusz Tkaczyk
1
-53
/
+59
2024-01-24
Replace "none" with macro
Mateusz Kusiak
1
-1
/
+1
2023-05-08
mdadm: numbered names verification
Mariusz Tkaczyk
1
-0
/
+44
2023-03-19
mdmon: Improve switchroot interactions.
NeilBrown
1
-3
/
+4
2023-03-19
Use existence of /etc/initrd-release to detect initrd.
NeilBrown
1
-9
/
+1
2023-03-08
util.c: fix memleak in parse_layout_faulty()
Wu Guanghao
1
-0
/
+2
2023-03-08
util.c: reorder code lines in parse_layout_faulty()
Coly Li
1
-3
/
+6
2023-03-02
Add helpers to determine whether directories or files are soft links
Mateusz Grzonka
1
-0
/
+45
2023-02-28
Fix NULL dereference in super_by_fd
Li Xiao Keng
1
-1
/
+6
2023-01-04
util: remove obsolete code from get_md_name
Mateusz Kusiak
1
-34
/
+17
2022-08-24
Grow: Split Grow_reshape into helper function
Mateusz Kusiak
1
-0
/
+14
2022-08-22
mdadm: Replace obsolete usleep with nanosleep
Mateusz Grzonka
1
-9
/
+33
2022-06-24
util: replace ioctl use with function
Kinga Tanska
1
-1
/
+1
2022-04-04
Replace error prone signal() with sigaction()
Lukasz Florczak
1
-1
/
+0
2021-10-08
Refactor parse_num and use it to parse optarg.
Mateusz Grzonka
1
-11
/
+2
2021-08-13
Utils: Change sprintf to snprintf
Mateusz Kusiak
1
-2
/
+2
2021-07-16
mdadm: Fix building errors
Xiao Ni
1
-1
/
+1
2020-11-25
mdadm: Unify forks behaviour
Mariusz Tkaczyk
1
-44
/
+80
2020-05-18
uuid.c: split uuid stuffs from util.c
Guoqing Jiang
1
-87
/
+0
2020-01-21
Add support for Tebibytes
Kinga Tanska
1
-14
/
+33
2019-09-30
mdadm: force a uuid swap on big endian
Nigel Croxon
1
-0
/
+4
2018-05-31
imsm: Do not require MDADM_EXPERIMENTAL flag anymore
Michal Zylowski
1
-10
/
+0
2018-03-08
mdadm: improve the dlm locking mechanism for clustered raid
Guoqing Jiang
1
-14
/
+43
2017-11-09
To support clustered raid10
Guoqing Jiang
1
-0
/
+11
2017-10-02
Zeroout whole ppl space during creation/force assemble
Pawel Baldysiak
1
-0
/
+49
2017-09-29
util: Code is 80 characters wide
Jes Sorensen
1
-12
/
+21
2017-08-16
Detail: correct output for active arrays
Mariusz Tkaczyk
1
-6
/
+9
2017-05-24
Detail: don't exit if ioctl has been successful
Tomasz Majchrzak
1
-1
/
+1
2017-05-16
mdadm: Fixup more broken logical operator formatting
Jes Sorensen
1
-2
/
+1
2017-05-16
mdadm: Fixup a large number of bad formatting of logical operators
Jes Sorensen
1
-12
/
+8
2017-05-09
Add sector size as spare selection criterion
Alexey Obitotskiy
1
-1
/
+30
2017-05-09
Allow more spare selection criteria
Alexey Obitotskiy
1
-3
/
+3
2017-05-05
mdadm/util: unify stat checking blkdev into function
Zhilong Liu
1
-0
/
+17
2017-05-05
mdadm/util: unify fstat checking blkdev into function
Zhilong Liu
1
-0
/
+17
2017-05-03
util: md_array_valid(): Introduce md_array_valid() helper
Jes Sorensen
1
-0
/
+24
2017-04-20
util: Get rid of unused enough_fd()
Jes Sorensen
1
-31
/
+0
2017-04-20
util: Introduce md_array_active() helper
Jes Sorensen
1
-0
/
+27
2017-04-11
Retire mdassemble
Jes Sorensen
1
-33
/
+4
2017-04-05
util: Finally kill off md_get_version()
Jes Sorensen
1
-29
/
+0
2017-04-05
util/set_array_info: Simplify code since md_get_version returns a constant
Jes Sorensen
1
-11
/
+8
2017-04-05
util/must_be_container: Use sysfs_read(GET_VERSION) to determine valid array
Jes Sorensen
1
-1
/
+6
2017-03-29
util: Introduce md_set_array_info()
Jes Sorensen
1
-2
/
+10
2017-03-29
util: Introduce md_get_disk_info()
Jes Sorensen
1
-1
/
+9
2017-03-29
util: Introduce md_get_array_info()
Jes Sorensen
1
-3
/
+11
2017-03-29
util: Cosmetic changes
Jes Sorensen
1
-12
/
+10
2017-03-28
Add 'force' flag to *hot_remove_disk().
NeilBrown
1
-5
/
+5
2017-03-28
Introduce sys_hot_remove_disk()
NeilBrown
1
-0
/
+12
2017-03-28
Retry HOT_REMOVE_DISK a few times.
NeilBrown
1
-0
/
+18
2017-03-17
mdadm: Specify enough length when write to buffer
Xiao Ni
1
-1
/
+1
2016-12-13
Always return last partition end address in 512B blocks
Mariusz Dabrowski
1
-2
/
+5
2016-12-12
Use disk sector size value to set offset for reading GPT
Mariusz Dabrowski
1
-1
/
+6
2016-11-17
Add function for getting member drive sector size
Pawel Baldysiak
1
-1
/
+17
2016-10-19
Fix bus error when accessing MBR partition records
James Clarke
1
-7
/
+11
2016-09-22
Fix RAID metadata check
Mariusz Dabrowski
1
-11
/
+16
2016-08-15
Introduce random_uuid() helper function
Jes Sorensen
1
-0
/
+21
2016-08-11
util: Never have if and return on the same line
Jes Sorensen
1
-1
/
+2
2016-06-03
Use dev_t for devnm2devid and devid2devnm
Mike Lovell
1
-3
/
+3
2016-03-08
util: Remove unnecesary NULL pointer checks when calling sysfs_free()
Jes Sorensen
1
-4
/
+2
2016-03-07
Remove dead code about LKF_CONVERT flag
Guoqing Jiang
1
-8
/
+0
2016-02-08
util.c: include poll.h instead of sys/poll.h
Maxin B. John
1
-1
/
+1
2016-02-08
Fix some type comparison problems
Xiao Ni
1
-1
/
+1
2016-01-28
Assorted fixed for a "make everything" build
NeilBrown
1
-7
/
+19
2016-01-27
util: fix wrong return value of cluster_get_dlmlock
Guoqing Jiang
1
-10
/
+4
2015-12-17
mdadm: improve the safeguard for change cluster raid's sb
Guoqing Jiang
1
-12
/
+18
2015-10-21
Make cmap_* also has same policy as dlm_*
Guoqing Jiang
1
-34
/
+33
2015-10-21
Safeguard against writing to an active device of another node
Guoqing Jiang
1
-0
/
+148
2015-08-03
mdassemble: don't try to perform cluster check.
NeilBrown
1
-1
/
+2
2015-06-17
Add a new clustered disk
Guoqing Jiang
1
-0
/
+10
2015-06-17
Set home-cluster while creating an array
Guoqing Jiang
1
-0
/
+57
2015-04-08
Assemble: allow a RAID4 to assemble easily when parity devices is missing.
NeilBrown
1
-0
/
+7
2015-02-12
Don't break long strings onto multiple lines.
NeilBrown
1
-8
/
+4
2015-02-12
Consistently print program Name and __func__ in debug messages.
NeilBrown
1
-1
/
+1
2014-12-18
util: remove rounding error where reporting "human sizes".
NeilBrown
1
-4
/
+4
2014-08-11
util: split get_maj_min() out from dev_open()
NeilBrown
1
-5
/
+10
2014-05-22
install: use BINDIR consistently to locate mdadm and mdmon
NeilBrown
1
-1
/
+1
2014-03-20
Work around architectures having statfs.f_type defined as long
Jes Sorensen
1
-1
/
+5
2013-12-05
Assemble/Incremental: don't hold O_EXCL on mddev after assembly.
NeilBrown
1
-0
/
+14
2013-12-05
Two small fixes related to enough()
NeilBrown
1
-2
/
+0
2013-11-20
IMSM metadata really should be ignored when found on partitions.
NeilBrown
1
-1
/
+1
2013-09-03
Release mdadm-3.3
mdadm-3.3
NeilBrown
1
-1
/
+1
2013-09-02
Make sure "mdmon" doesn't get called "@dmon".
NeilBrown
1
-2
/
+2
2013-08-28
in_initrd: fix gcc compiler error
mwilck@arcor.de
1
-2
/
+2
2013-08-08
Create: fix warning about pre-existing filesystems.
NeilBrown
1
-5
/
+6
2013-08-05
test: ensure testing uses correct mdmon
NeilBrown
1
-30
/
+33
2013-08-01
mdmon: don't lie to systemd.
NeilBrown
1
-0
/
+11
2013-07-30
super1: simplify setting of array size.
NeilBrown
1
-0
/
+1
2013-07-02
Move find_free_devnum to mdopen.c
NeilBrown
1
-33
/
+0
2013-06-25
Subject: Make wait_for and open_dev_excl faster
NeilBrown
1
-2
/
+8
2013-06-19
Remove lots of unnecessary white space.
NeilBrown
1
-1
/
+0
2013-06-19
raid6check: Fix build of raid6check
Bernd Schubert
1
-10
/
+0
2013-05-30
Make sure NOFILE resource limit is big enough.
NeilBrown
1
-0
/
+15
2013-05-21
Change some fprintf(stderrs to cont_err()
NeilBrown
1
-4
/
+4
2013-05-15
Suppress error messages from systemctl.
NeilBrown
1
-0
/
+5
2013-05-13
mdassemble - fix new compile-time problems.
NeilBrown
1
-1
/
+1
2013-02-21
Discard devnum in favour of devnm
NeilBrown
1
-70
/
+144
2013-02-05
In case launching mdmon fails, print an error message before exiting
Jes Sorensen
1
-1
/
+4
2013-02-05
Add support for launching mdmon via systemctl instead of fork/exec
Jes Sorensen
1
-0
/
+28
2013-02-05
Remove --offroot argument and default to always setting argv[0] to @
Jes Sorensen
1
-11
/
+2
2013-01-10
dev_open - don't bother trying map_dev
NeilBrown
1
-10
/
+6
2013-01-07
conditionally remove map_dev from find_free_devnum
NeilBrown
1
-6
/
+8
2012-11-20
IMSM - allow assembling any imsm array even without OROM.
NeilBrown
1
-3
/
+3
2012-10-22
Remove get_one_disk
NeilBrown
1
-12
/
+0
2012-10-11
Fix open_container
NeilBrown
1
-0
/
+14
2012-10-10
Replace a lot of leading spaces with tabs.
NeilBrown
1
-17
/
+17
2012-10-04
Allow data-offset to be specified per-device for create
NeilBrown
1
-0
/
+3
2012-10-04
Allow parse_size to return 0.
NeilBrown
1
-3
/
+3
2012-10-04
imsm: Allow to specify controller for --detail-platform.
Maciej Naruszewicz
1
-0
/
+21
2012-10-03
Fix 'enough' function for RAID10.
NeilBrown
1
-3
/
+4
2012-10-02
Display size with human_size_brief with a chosen prefix
Maciej Naruszewicz
1
-9
/
+27
2012-10-02
Synchronize size calculation in human_size and human_size_brief
Maciej Naruszewicz
1
-13
/
+20
2012-09-20
fix: adjust parse_size() to the unsigned size variable
Lukasz Dorau
1
-4
/
+5
2012-09-10
Move xmalloc et al into their own file
Robert Buchholz
1
-40
/
+0
2012-08-20
find_free_devnum: avoid auto-using names in /etc/mdadm.conf
NeilBrown
1
-0
/
+4
2012-08-13
Minor cosmetic fixes in various files.
NeilBrown
1
-45
/
+49
2012-07-09
Create parse_num() function.
NeilBrown
1
-0
/
+11
2012-07-09
Remove scattered checks for malloc success.
NeilBrown
1
-11
/
+47
2012-07-09
Introduce pr_err for printing error messages.
NeilBrown
1
-30
/
+25
2012-04-18
Raid limit of 1024 when scanning for devices.
NeilBrown
1
-2
/
+2
2012-04-04
parse_size: distinguish between 0 and error.
NeilBrown
1
-1
/
+2
2012-04-02
simplify calculating array_blocks
Czarnowska, Anna
1
-0
/
+2
2012-02-09
FIX: NULL pointer to strdup() can be passed
Adam Kwolek
1
-2
/
+3
2012-02-07
Remove avail_disks arg from 'enough'.
NeilBrown
1
-3
/
+8
2012-01-30
Spawn mdmon with --offroot if mdadm was launched with --offroot
Jes Sorensen
1
-4
/
+13
2011-11-02
enough_fd(): remember to free buffer for avail array
Jes Sorensen
1
-4
/
+5
2011-10-31
Avoid stack overflow if GPT partition entries on disk are > 128 bytes
Jes Sorensen
1
-5
/
+8
2011-10-26
util.c: two typos fixed
Lukasz Dorau
1
-1
/
+2
2011-10-17
Fix off-by-one in readlink() buffer size handling
Thomas Jarosch
1
-1
/
+1
2011-10-03
Move code to get_data_disks() function
Adam Kwolek
1
-2
/
+8
2011-09-08
Fix component size checks in validate_super0.
NeilBrown
1
-1
/
+1
2011-09-07
fix: segfault when killing subarray of non-existent container
Czarnowska, Anna
1
-1
/
+1
2011-09-07
start_mdmon: provide more dynamic way to close-all-fds
NeilBrown
1
-3
/
+8
2011-08-01
Add some more settings of ignore_hw_compat
NeilBrown
1
-0
/
+1
2011-06-17
util: correctly parse shorter linux version numbers.
NeilBrown
1
-5
/
+5
2011-06-17
Improvements to GPT reading code.
Luca Berra
1
-18
/
+9
2011-05-23
Check all member devices in enough_fd
NeilBrown
1
-3
/
+10
2011-04-05
Split some of util.c into a new lib.c
NeilBrown
1
-211
/
+0
2011-04-05
split name/number maps into separate file.
NeilBrown
1
-21
/
+0
2011-03-24
open_dev_excl: allow device to be read-only.
devel-3.2
NeilBrown
1
-1
/
+6
2011-03-23
examine: allows to examine a disk metadata on non-metadata compliant systems
Labun, Marcin
1
-0
/
+3
2011-03-22
mdmon: don't wait for O_EXCL when shutting down.
NeilBrown
1
-2
/
+7
2011-03-14
Warn the user about too small array size
Krzysztof Wojcik
1
-1
/
+8
2011-03-10
dev_open should always open read-only.
NeilBrown
1
-1
/
+1
2011-02-01
Various compile fixes.
NeilBrown
1
-1
/
+1
2011-02-01
Allow domain_test to report that no domains were found.
NeilBrown
1
-1
/
+1
2011-02-01
Incr: don't exclude 'active' devices from auto inclusion in a container.
NeilBrown
1
-7
/
+1
2011-02-01
Monitor: do not move partitions to external container
Czarnowska, Anna
1
-0
/
+13
2011-01-27
fix extended partition detection
Dan Williams
1
-1
/
+1
2011-01-05
Use one function chosing spares from container
Anna Czarnowska
1
-0
/
+60
2010-12-26
imsm: set imsm spare uuid to 0
Anna Czarnowska
1
-5
/
+2
2010-12-16
Allow a metadata update to have a linked list of allocated spaces.
NeilBrown
1
-0
/
+1
2010-12-16
Split fmt_devnum out from devnum2devname
NeilBrown
1
-2
/
+7
2010-11-29
Treat feature as experimental
Adam Kwolek
1
-0
/
+10
2010-11-29
Monitor: devid should be dev_t
Anna Czarnowska
1
-1
/
+1
2010-11-29
Incremental - avoid including wayward devices.
NeilBrown
1
-0
/
+15
2010-11-23
Initialize st->devnum and st->container_dev in super_by_fd
Dan Williams
1
-3
/
+7
2010-11-23
block monitor: freeze spare assignment for external arrays
Dan Williams
1
-0
/
+25
2010-11-23
Provide a mdstat_ent to subarray helper
Dan Williams
1
-7
/
+4
2010-11-22
Util: get device size from id
Anna Czarnowska
1
-0
/
+16
2010-11-22
Add must_be_container helper.
NeilBrown
1
-0
/
+14
2010-11-22
Switch open_subarray to use the new load_container
NeilBrown
1
-6
/
+6
2010-11-22
Use new load_container in Examine
NeilBrown
1
-1
/
+2
2010-11-22
Remove subarray field in supertype.
NeilBrown
1
-2
/
+0
2010-11-22
Create: user container_dev rather than subarray for some tests.
NeilBrown
1
-0
/
+3
2010-11-22
Pass subarray arg explicitly to ->update_subarray.
NeilBrown
1
-4
/
+12
2010-11-22
super_by_fd: return subarray info explicitly.
NeilBrown
1
-8
/
+5
2010-11-22
open_subarray: pass subarray name as explicit arg.
NeilBrown
1
-2
/
+4
2010-11-22
get_info_super: report which other devices are thought to be working/failed.
NeilBrown
1
-2
/
+2
2010-11-22
Manage: be more careful about --add attempts.
NeilBrown
1
-0
/
+30
2010-09-06
Add guess_super_type
NeilBrown
1
-1
/
+5
2010-09-06
Add gpt pseudo-metadata
NeilBrown
1
-1
/
+1
2010-09-06
Add mbr pseudo metadata handler.
NeilBrown
1
-58
/
+7
2010-08-30
Allow dev_open to work on read-only /dev
NeilBrown
1
-6
/
+20
2010-08-05
Compile with -Wextra by default
NeilBrown
1
-5
/
+5
2010-07-22
Fix all the confusion over directories once and for all.
Doug Ledford
1
-3
/
+1
2010-07-19
Incremental: restore assembly for inactive containers, block active
Dan Williams
1
-1
/
+6
2010-07-01
Merge branch 'fixes' into for-neil
Dan Williams
1
-1
/
+5
2010-06-15
Kill subarray v2
Dan Williams
1
-0
/
+137
2010-05-17
fix: memory leak in mdmon_pid()
Przemyslaw Hawrylewicz Czarnowski
1
-1
/
+5
2010-04-29
IMSM/DDF: don't recognised these metadata on partitions.
NeilBrown
1
-0
/
+25
2010-03-24
(no commit message)
NeilBrown
1
-1
/
+6
2010-03-09
Improve partition table code.
NeilBrown
1
-21
/
+49
2010-03-03
fix mdmon takeover
Luca Berra
1
-2
/
+2
2010-03-03
fix gcc warnings about strict-aliasing rules
NeilBrown
1
-2
/
+5
2010-02-04
mdmon: allow pid to be stored in different directory.
NeilBrown
1
-1
/
+3
2010-02-04
Having single function to read mdmon pid file.
NeilBrown
1
-19
/
+7
2009-12-30
Merge branch 'master' of git://github.com/djbw/mdadm
NeilBrown
1
-3
/
+21
2009-12-21
imsm: add support for checkpointing via 'curr_migr_unit'
Dan Williams
1
-0
/
+15
2009-12-21
Support external metadata recovery-resume
Dan Williams
1
-1
/
+1
2009-12-21
Teach sysfs_add_disk() callers to use ->recovery_start versus 'insync' parameter
Dan Williams
1
-2
/
+5
2009-12-12
util: fix devnum2devname for devnum == 0
Dan Williams
1
-1
/
+1
2009-12-08
Check partition tables when creating array.
Trela, Maciej
1
-0
/
+176
2009-11-17
Replace all relevant occurrences of -4 with LEVEL_MULTIPATH
NeilBrown
1
-2
/
+2
2009-10-22
Merge branch 'master' into devel-3.1
NeilBrown
1
-4
/
+8
[next]