summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-10-07 14:20:17 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-05 13:36:43 +0100
commit119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6 (patch)
tree95dea358d25a8fdea7acabdfae6911eed7bb82f2 /mdadm.h
parentReadMe: Fix stylistic issues (diff)
downloadmdadm-119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6.tar.xz
mdadm-119cdcad049e0464bfdd9ab19e2fd8cb4f9a82d6.zip
mdadm: drop auto= support
According to author (and what was described in man): "With mdadm 3.0, device creation is normally left up to udev so this is option is unlikely to be needed" This was a workaround for kernel 2.6 family issues (partitionable and non-partitionable arrays hell) and I believe we are far away from it now. I'm not aware of any usage of it, hence it is removed. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/mdadm.h b/mdadm.h
index 0f40af93..5aa50854 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -639,7 +639,6 @@ struct mddev_ident {
int raid_disks;
int spare_disks;
struct supertype *st;
- int autof; /* 1 for normal, 2 for partitioned */
char *spare_group;
char *bitmap_file;
int bitmap_fd;
@@ -674,7 +673,6 @@ struct context {
enum update_opt update;
int scan;
int SparcAdjust;
- int autof;
int delay;
int freeze_reshape;
char *backup_file;
@@ -1760,8 +1758,6 @@ extern char *human_size(long long bytes);
extern char *human_size_brief(long long bytes, int prefix);
extern void print_r10_layout(int layout);
-extern char *find_free_devnm(int use_partitions);
-
extern void put_md_name(char *name);
extern char *devid2kname(dev_t devid);
extern char *devid2devnm(dev_t devid);
@@ -1770,8 +1766,7 @@ extern char *get_md_name(char *devnm);
extern char DefaultConfFile[];
-extern int create_mddev(char *dev, char *name, int autof, int trustworthy,
- char *chosen, int block_udev);
+extern int create_mddev(char *dev, char *name, int trustworthy, char *chosen, int block_udev);
/* values for 'trustworthy' */
#define LOCAL 1
#define LOCAL_ANY 10