index
:
mdadm/mdadm.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
Manager of Linux Software RAID implemented through Multiple Devices driver.
mdadm maintainers
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
super-ddf.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-22
mdadm: Fix native --detail --export
Mariusz Tkaczyk
1
-5
/
+5
2024-03-22
mdadm: set swapuuid in all handlers
Mariusz Tkaczyk
1
-0
/
+1
2024-02-09
Revert "mdadm: remove container_enough logic"
Mariusz Tkaczyk
1
-0
/
+1
2023-10-26
mdadm: remove container_enough logic
Pawel Piatkowski
1
-1
/
+0
2023-10-26
mdadm/ddf: Abort when raid disk is smaller in getinfo_super_ddf
Xiao Ni
1
-2
/
+4
2023-09-01
Add secure gethostname() wrapper
Blazej Kucman
1
-2
/
+1
2023-05-08
mdadm: define DEV_MD_DIR
Mariusz Tkaczyk
1
-1
/
+1
2023-03-08
super-ddf.c: fix memleak in get_vd_num_of_subarray()
Wu Guanghao
1
-2
/
+7
2023-01-04
super-ddf: Remove update_super_ddf.
Mateusz Kusiak
1
-70
/
+0
2022-09-29
mdadm: replace container level checking with inline
Kinga Tanska
1
-3
/
+3
2022-08-07
DDF: Fix NULL pointer dereference in validate_geometry_ddf()
Logan Gunthorpe
1
-3
/
+3
2022-08-07
DDF: Cleanup validate_geometry_ddf_container()
Logan Gunthorpe
1
-49
/
+39
2022-06-14
Fix possible NULL ptr dereferences and memory leaks
Mateusz Grzonka
1
-2
/
+7
2022-04-04
mdadm: add map_num_s()
Mariusz Tkaczyk
1
-3
/
+3
2021-11-24
Correct checking if file descriptors are valid
Mateusz Grzonka
1
-1
/
+1
2021-10-08
Fix buffer size warning for strcpy
Nigel Croxon
1
-3
/
+5
2021-10-08
Refactor parse_num and use it to parse optarg.
Mateusz Grzonka
1
-9
/
+8
2021-07-16
Use dev_open in validate geometry container
Blazej Kucman
1
-1
/
+1
2021-05-26
Manage: Call validate_geometry when adding drive to external container
Mariusz Tkaczyk
1
-4
/
+5
2021-03-08
imsm: add verbose flag to compare_super
Mariusz Tkaczyk
1
-1
/
+2
2020-02-24
imsm: pass subarray id to kill_subarray function
Blazej Kucman
1
-1
/
+1
2019-12-02
imsm: return correct uuid for volume in detail
Blazej Kucman
1
-2
/
+3
2019-02-11
Fix spelling typos.
Dimitri John Ledkov
1
-1
/
+1
2018-05-31
super-ddf: Fix gcc-8.1 overflow warnings
Jes Sorensen
1
-2
/
+3
2017-05-16
mdadm: Fixup != broken formatting
Jes Sorensen
1
-4
/
+4
2017-05-16
mdadm: Fix '==' broken formatting
Jes Sorensen
1
-8
/
+8
2017-05-16
mdadm: Fixup more broken logical operator formatting
Jes Sorensen
1
-8
/
+7
2017-05-16
mdadm: Fixup a large number of bad formatting of logical operators
Jes Sorensen
1
-17
/
+16
2017-05-16
super-ddf: sysfs_read() takes a pointer as device name argument
Jes Sorensen
1
-1
/
+1
2017-05-16
mdadm: Uninitialized variable rdev
James Puthukattukaran
1
-1
/
+1
2017-05-05
mdadm/util: unify stat checking blkdev into function
Zhilong Liu
1
-6
/
+4
2017-04-11
Retire mdassemble
Jes Sorensen
1
-30
/
+0
2017-03-29
Detail: show consistency policy
Artur Paszkiewicz
1
-3
/
+3
2017-03-29
Generic support for --consistency-policy and PPL
Artur Paszkiewicz
1
-3
/
+3
2016-03-10
ddf: use 64bit 'size', not 32bit 'info->size' for create.
NeilBrown
1
-2
/
+2
2015-05-13
DDF: _write_super_to_disk: fix anchor header type
Martin Wilck
1
-0
/
+1
2015-02-12
Don't break long strings onto multiple lines.
NeilBrown
1
-18
/
+9
2015-02-12
Consistently print program Name and __func__ in debug messages.
NeilBrown
1
-100
/
+78
2014-08-05
DDF: cast print arguments in super-ddf.c
Guy Menanteau
1
-2
/
+4
2014-07-10
DDF: validate metadata_update size before using it.
NeilBrown
1
-2
/
+8
2014-07-10
mdmon: allow prepare_update to report failure.
NeilBrown
1
-3
/
+5
2014-06-05
Make sure "make everything" builds again.
NeilBrown
1
-1
/
+3
2014-05-22
DDF: remove "BVD xx is missing".
NeilBrown
1
-1
/
+1
2014-05-22
mdadm: Do not reimplment offsetof
Cristian RodrÃguez
1
-4
/
+1
2014-05-21
DDF: remove some pointless code in validate_geometry
NeilBrown
1
-9
/
+1
2014-05-21
DDF: remove a FIXME comment that doesn't seem to mean anything.
NeilBrown
1
-1
/
+0
2014-05-21
DDF: remove 'FIXME' comment that doesn't need fixing.
NeilBrown
1
-2
/
+3
2014-05-21
DDF: ensure dl->devname is freed when processing a 'delete device' update.
NeilBrown
1
-3
/
+3
2014-05-21
DDF: remove old comment about looking for spares.
NeilBrown
1
-1
/
+0
2014-05-21
DDF: remove an old incorrect FIXME comment.
NeilBrown
1
-1
/
+3
2014-05-21
DDF: add data-offset information to --examine output.
NeilBrown
1
-0
/
+1
2014-05-21
DDF: split up ddf_process_update
NeilBrown
1
-264
/
+297
2014-05-21
DDF: add support of --data-offset when creating array.
NeilBrown
1
-12
/
+10
2014-05-21
DDF: factor out common code for search through extents.
NeilBrown
1
-90
/
+62
2014-05-21
DDF: allow for unused slots when creating map list for getinfo_super_ddf.
NeilBrown
1
-4
/
+8
2014-05-21
DDF: DDF_Missing devices should not be reported as 'working' by getinfo_super...
NeilBrown
1
-1
/
+2
2014-05-21
DDF: remove old and wrong comment about settinig raid_disk.
NeilBrown
1
-1
/
+1
2014-05-21
DDF: provide simple detail_super() implementation.
NeilBrown
1
-6
/
+8
2014-05-21
DDF: support more RAID10 levels.
NeilBrown
1
-3
/
+31
2014-05-21
DDF: explain why spare_refs are ignored.
NeilBrown
1
-1
/
+4
2014-05-21
DDF: use array_size from metadata.
NeilBrown
1
-1
/
+1
2014-05-21
DDF: set utime for container from timestamp is superblock.
NeilBrown
1
-2
/
+2
2014-05-21
DDF: don't assume the anchor is fully up-to-date.
NeilBrown
1
-1
/
+1
2014-05-21
DDF: update timestamp/seqnum for virtual disks when config changes.
NeilBrown
1
-20
/
+26
2014-05-21
DDF: update timestamp in DDF header.
NeilBrown
1
-0
/
+1
2014-05-21
DDF: avoid ref outside array in getinfo_super_ddf_bvd
NeilBrown
1
-4
/
+4
2014-05-21
DDF: examine_pds to also list devices that aren't in the metadata.
NeilBrown
1
-0
/
+20
2014-05-21
DDF: fix usage of ->used_pdes
NeilBrown
1
-7
/
+14
2014-05-21
DDF: more guards against pdnum being negative.
NeilBrown
1
-3
/
+3
2014-04-02
DDF: Don't fail compare_super_ddf due to re-configure changes.
NeilBrown
1
-33
/
+11
2014-04-02
DDF: fix possible mdmon crash when updating metadata.
NeilBrown
1
-1
/
+1
2014-04-02
DDF: guard against ->pdnum being negative.
NeilBrown
1
-6
/
+16
2014-04-01
DDF: mark missing-on-assembly device properly.
NeilBrown
1
-3
/
+28
2014-04-01
DDF: Fix assorted typos and do some reformatting.
NeilBrown
1
-142
/
+148
2014-03-26
DDF: when first activating an array, record any missing devices.
NeilBrown
1
-0
/
+28
2014-03-26
DDF: report seq counter as events.
NeilBrown
1
-7
/
+4
2014-01-20
DDF: fix detection of failed devices during assembly.
NeilBrown
1
-4
/
+14
2014-01-20
DDF - really ignore DDF metadata on partitions.
NeilBrown
1
-1
/
+1
2013-10-16
DDF: add_to_super_ddf: be careful with workspace_lba
mwilck@arcor.de
1
-1
/
+26
2013-10-16
DDF: compare_super_ddf: fix sequence number check
mwilck@arcor.de
1
-4
/
+4
2013-09-12
DDF: brief_examine_subarrays_ddf: print array name
mwilck@arcor.de
1
-1
/
+5
2013-09-12
DDF: factor out array name generation
mwilck@arcor.de
1
-12
/
+13
2013-09-12
DDF: allow for possibility that there is no secondary copy of metadata.
NeilBrown
1
-2
/
+7
2013-09-10
Move ARRAY_SIZE macro to common include file.
NeilBrown
1
-2
/
+1
2013-09-10
DDF: handle fake RAIDs with changing subarray UUIDs
mwilck@arcor.de
1
-5
/
+50
2013-08-28
DDF: increase default value for safe_mode_delay to 4000ms
mwilck@arcor.de
1
-2
/
+6
2013-08-28
DDF: container_content_ddf: set safe_mode_delay > 0
mwilck@arcor.de
1
-0
/
+1
2013-08-28
DDF: export_examine_super_ddf: print MD_DEVICES
mwilck@arcor.de
1
-0
/
+2
2013-08-28
DDF: ddf_activate_spare: fix gcc -O2 uninitialized warning
NeilBrown
1
-1
/
+1
2013-08-08
DDF: ddf_open_new: check device status for new subarray
mwilck@arcor.de
1
-1
/
+28
2013-08-07
DDF: Write new conf entries with a single write.
NeilBrown
1
-41
/
+26
2013-08-06
DDF: get_extents: don't allocate space on failed disks
mwilck@arcor.de
1
-0
/
+4
2013-08-05
DDF: fix removal of failed devices.
NeilBrown
1
-4
/
+11
2013-08-05
DDF: fix writing metadata updates.
NeilBrown
1
-1
/
+2
2013-08-05
DDF: no need for GET_LAYOUT any more
mwilck@arcor.de
1
-7
/
+1
2013-08-01
DDF: differentiate between new metadata and metadata updates.
NeilBrown
1
-10
/
+12
2013-08-01
DDF: use some #defines instead of bare constants.
NeilBrown
1
-4
/
+4
2013-07-31
DDF: ddf_set_disk: add some debug messages
Martin Wilck
1
-4
/
+13
2013-07-31
DDF: load_ddf_header: more error logging
Martin Wilck
1
-3
/
+9
2013-07-31
DDF: ddf_process_update: log offsets for conf changes
Martin Wilck
1
-1
/
+18
2013-07-31
DDF: log disk status changes more nicely
Martin Wilck
1
-4
/
+11
2013-07-31
DDF: ddf_activate_spare: bugfix for 62ff3c40
Martin Wilck
1
-7
/
+7
2013-07-30
Manage: remove call to validate_geometry.
NeilBrown
1
-3
/
+3
2013-07-30
DDF: ddf_activate_spare: fix metadata update for SVDs
mwilck@arcor.de
1
-9
/
+32
2013-07-30
DDF: ddf_activate_spare: only activate good drives
mwilck@arcor.de
1
-0
/
+7
2013-07-30
DDF: ddf_activate_spare: Add RAID10 code
mwilck@arcor.de
1
-1
/
+54
2013-07-30
DDF: find_vdcr: fix minor bug in debug message
mwilck@arcor.de
1
-2
/
+2
2013-07-23
super-ddf: allow mdassemble to compile.
NeilBrown
1
-18
/
+23
2013-07-23
DDF: convert big-endian __u16 to be16 type
mwilck@arcor.de
1
-162
/
+195
2013-07-23
DDF: convert big-endian __u64 to be64 type
mwilck@arcor.de
1
-56
/
+56
2013-07-23
DDF: convert big endian to be32 type
mwilck@arcor.de
1
-171
/
+175
2013-07-23
DDF: add endian-safe typedefs
mwilck@arcor.de
1
-0
/
+36
2013-07-22
DDF: getinfo_super_ddf_bvd: fix offset calculation for SVDs
mwilck@arcor.de
1
-2
/
+2
2013-07-22
DDF: kill_subarray_ddf: fix case without mdmon running
mwilck@arcor.de
1
-1
/
+4
2013-07-22
DDF: err_bad_md_layout: fix return value
mwilck@arcor.de
1
-1
/
+1
2013-07-22
DDF: factor out writing super block to single disk
mwilck@arcor.de
1
-59
/
+53
2013-07-22
DDF: make "null_aligned" a static buffer
mwilck@arcor.de
1
-12
/
+11
2013-07-22
DDF: increase seq number in ddf_set_updates_pending
mwilck@arcor.de
1
-3
/
+9
2013-07-10
DDF load headers: if primary is invalid, don't check fields.
NeilBrown
1
-4
/
+4
2013-07-10
DDF: ddf_process_update: Fix updates for SVDs
mwilck@arcor.de
1
-28
/
+60
2013-07-10
DDF: ddf_process_update: some more debug messages
mwilck@arcor.de
1
-5
/
+6
2013-07-10
DDF: guid_str: more readable output
mwilck@arcor.de
1
-2
/
+7
2013-07-10
DDF: ddf_process_update: add debug messages fore adding VDs
mwilck@arcor.de
1
-0
/
+9
2013-07-10
DDF: add debug message in add_super_ddf_bvd
mwilck@arcor.de
1
-0
/
+4
2013-07-10
DDF: fix endianness of refnum in debug messages
mwilck@arcor.de
1
-4
/
+6
2013-07-10
DDF: getinfo_super_ddf_bvd: fix raid_disk calculation
mwilck@arcor.de
1
-1
/
+2
2013-07-10
DDF: getinfo_super_ddf_bvd: identify disk by refnum
mwilck@arcor.de
1
-1
/
+1
2013-07-10
DDF: implement kill_subarray
mwilck@arcor.de
1
-7
/
+99
2013-07-10
DDF: write_init_super_ddf: don't zero superblocks for subarrays
mwilck@arcor.de
1
-2
/
+3
2013-07-08
DDF: ddf_process_update: Fix vlist treatment for SVDs
mwilck@arcor.de
1
-22
/
+26
2013-07-08
DDF: ddf_process_update: handle update of conf records for SVD
mwilck@arcor.de
1
-1
/
+16
2013-07-08
DDF: ddf_set_array_state: more meaningful output
mwilck@arcor.de
1
-1
/
+3
2013-07-08
DDF: guid_str: convenience function to print GUID for debugging
mwilck@arcor.de
1
-0
/
+14
2013-07-08
DDF: getinfo_super_ddf_bvd: lba_offset calculation for RAID10
mwilck@arcor.de
1
-0
/
+10
2013-07-08
DDF: add_to_super_ddf_bvd: use get_svd_state()
mwilck@arcor.de
1
-22
/
+6
2013-07-08
DDF: add_to_super_ddf: RAID10 changes
mwilck@arcor.de
1
-4
/
+9
2013-07-08
DDF: add_to_super_ddf: Use same amount of workspace as other disks
mwilck@arcor.de
1
-4
/
+29
2013-07-08
DDF: add_to_super_ddf: allow empty slots in phys disk table
mwilck@arcor.de
1
-6
/
+23
2013-07-08
DDF: get_extents: support secondary RAID level
mwilck@arcor.de
1
-16
/
+14
2013-07-08
DDF: use LBA_OFFSET macro instead of lba_offset field
mwilck@arcor.de
1
-22
/
+12
2013-07-08
DDF: validate_geometry_ddf: support RAID10
mwilck@arcor.de
1
-2
/
+2
2013-07-08
DDF: init_super_ddf_bvd: initialize other bvds
mwilck@arcor.de
1
-1
/
+6
2013-07-08
DDF: Simplify allocation of "other BVDs"
mwilck@arcor.de
1
-33
/
+53
2013-07-08
DDF: layout_md2ddf: new md->DDF layout conversion
mwilck@arcor.de
1
-82
/
+117
2013-07-08
DDF: layout_ddf2md: new DDF->md RAID layout conversion
mwilck@arcor.de
1
-79
/
+100
2013-07-08
DDF: allow empty slots in virt disk table
mwilck@arcor.de
1
-43
/
+57
2013-07-08
DDF: get_svd_state: Status logic for secondary RAID level
mwilck@arcor.de
1
-4
/
+33
2013-07-08
DDF: ddf_set_disk: move status logic to separate function
mwilck@arcor.de
1
-41
/
+53
2013-07-08
DDF: find_vdcr: account for secondary RAID level
mwilck@arcor.de
1
-13
/
+87
2013-07-08
DDF: ddf_open_new: implement minimal consistency check
mwilck@arcor.de
1
-2
/
+8
2013-07-08
DDF: Implement store_super_ddf
mwilck@arcor.de
1
-6
/
+35
2013-07-08
DDF: handle "open flag" according to spec
mwilck@arcor.de
1
-8
/
+18
2013-07-08
DDF: load_ddf_headers: use secondary header as fallback
mwilck@arcor.de
1
-4
/
+9
2013-07-08
DDF: check_secondary: fix treatment of missing BVDs
mwilck@arcor.de
1
-4
/
+2
2013-07-08
DDF (cleanup): use a common macro for failed searches
mwilck@arcor.de
1
-3
/
+2
2013-05-21
Change some "fprintf(stderr,"s to pr_err.
NeilBrown
1
-1
/
+1
2013-05-16
Add --dump / --restore functionality.
NeilBrown
1
-0
/
+63
2013-05-16
intel,ddf: don't require partitions when ignore_hw_compat is set.
NeilBrown
1
-1
/
+1
2013-04-24
DDF: fix bug in compare_super_ddf
mwilck@arcor.de
1
-1
/
+1
2013-04-23
DDF: add code to debug state changes
mwilck@arcor.de
1
-13
/
+36
2013-04-23
DDF: brief_detail_super_ddf: print correct UUID for subarrays
mwilck@arcor.de
1
-12
/
+54
2013-04-23
DDF: __write_init_super_ddf: just use seq number of active header
mwilck@arcor.de
1
-6
/
+1
2013-04-23
DDF: __write_ddf_structure: Fix wrong reference to ddf->primary
mwilck@arcor.de
1
-1
/
+1
2013-03-04
DDF: compare_super_ddf: merge local info of other superblock
mwilck@arcor.de
1
-2
/
+100
2013-03-04
DDF: add sanity checks in compare_super_ddf
mwilck@arcor.de
1
-0
/
+42
2013-03-04
DDF: __write_init_super_ddf: use correct VD conf
mwilck@arcor.de
1
-7
/
+24
2013-03-04
DDF: container_content_ddf: handle RAID layout for RAID10
mwilck@arcor.de
1
-13
/
+66
2013-03-04
DDF: container_content_ddf: check for secondary RAID
mwilck@arcor.de
1
-0
/
+73
2013-03-04
DDF: container_content_ddf: change array disk search loop
mwilck@arcor.de
1
-12
/
+21
2013-03-04
DDF: load_ddf_local: store VD conf for other BVDs
mwilck@arcor.de
1
-1
/
+41
2013-03-04
DDF: added other_bvd to struct vcl
mwilck@arcor.de
1
-0
/
+10
2013-03-04
DDF: increase seq number when writing meta data
mwilck@arcor.de
1
-1
/
+10
2013-03-04
DDF: use existing locations for primary and secondary DDF structure
mwilck@arcor.de
1
-3
/
+25
2013-03-04
DDF: cleanly save the secondary DDF structure
mwilck@arcor.de
1
-59
/
+80
2013-02-21
Discard devnum in favour of devnm
NeilBrown
1
-8
/
+6
2012-10-10
Replace a lot of leading spaces with tabs.
NeilBrown
1
-2
/
+2
2012-10-04
Allow data-offset to be specified per-device for create
NeilBrown
1
-1
/
+2
2012-10-04
Add data_offset arg to ->init_super and use it in super1.c
NeilBrown
1
-4
/
+10
2012-10-04
Add data_offset arg to ->validate_geometry.
NeilBrown
1
-2
/
+10
2012-10-04
Add data_offset arg to ->avail_size
NeilBrown
1
-2
/
+3
2012-08-15
ddf: hack to fix container recognition.
NeilBrown
1
-0
/
+1
2012-08-15
ddf: allow a non-spare to be used to recovery a missing device.
NeilBrown
1
-0
/
+4
2012-08-15
ddf: fix multiple white-space issues.
NeilBrown
1
-69
/
+61
2012-07-09
Convert 'quiet' to 'not verbose' in various places.
NeilBrown
1
-1
/
+1
2012-07-09
Remove scattered checks for malloc success.
NeilBrown
1
-31
/
+13
2012-07-09
Introduce pr_err for printing error messages.
NeilBrown
1
-64
/
+52
2012-03-21
__write_init_super_ddf(): Use posix_memalign() instead of static aligned buffer
Jes Sorensen
1
-8
/
+11
2012-01-12
Work around gcc-4.7's strict aliasing checks
Jes Sorensen
1
-8
/
+14
2011-12-23
ddf: fix auto-allocation problem.
NeilBrown
1
-1
/
+1
2011-10-05
Add recovery blocked field to mdinfo
Adam Kwolek
1
-0
/
+2
2011-06-15
ddf: fix up getinfo_super_bvd
NeilBrown
1
-4
/
+8
2011-06-09
Fix some fall-out from recent memset-zero for getinfo_super
NeilBrown
1
-3
/
+1
2011-06-08
getinfo_super now clears the 'info' structure before filling it in.
NeilBrown
1
-0
/
+2
2011-03-22
ddf: fix up detection of failed/missing devices.
NeilBrown
1
-5
/
+15
2011-03-15
Merge branch 'master' into devel-3.2
NeilBrown
1
-7
/
+66
2011-03-15
ddf: implement remove_from_super
NeilBrown
1
-2
/
+56
2011-03-15
DDF Allow a RAID1 to be 'partially optimal'.
NeilBrown
1
-0
/
+2
2011-03-15
ddf: remove failed devices that are no longer in use.
NeilBrown
1
-0
/
+42
2011-03-15
ddf: set Rebuilding flag when adding devices to a degraded array
NeilBrown
1
-2
/
+15
2011-03-15
ddf: use correct loop variable in activate_spare
NeilBrown
1
-4
/
+5
[next]