MD_MAJOR 39 include/uapi/linux/raid/md_u.h #define RAID_VERSION _IOR (MD_MAJOR, 0x10, mdu_version_t) MD_MAJOR 40 include/uapi/linux/raid/md_u.h #define GET_ARRAY_INFO _IOR (MD_MAJOR, 0x11, mdu_array_info_t) MD_MAJOR 41 include/uapi/linux/raid/md_u.h #define GET_DISK_INFO _IOR (MD_MAJOR, 0x12, mdu_disk_info_t) MD_MAJOR 42 include/uapi/linux/raid/md_u.h #define RAID_AUTORUN _IO (MD_MAJOR, 0x14) MD_MAJOR 43 include/uapi/linux/raid/md_u.h #define GET_BITMAP_FILE _IOR (MD_MAJOR, 0x15, mdu_bitmap_file_t) MD_MAJOR 46 include/uapi/linux/raid/md_u.h #define CLEAR_ARRAY _IO (MD_MAJOR, 0x20) MD_MAJOR 47 include/uapi/linux/raid/md_u.h #define ADD_NEW_DISK _IOW (MD_MAJOR, 0x21, mdu_disk_info_t) MD_MAJOR 48 include/uapi/linux/raid/md_u.h #define HOT_REMOVE_DISK _IO (MD_MAJOR, 0x22) MD_MAJOR 49 include/uapi/linux/raid/md_u.h #define SET_ARRAY_INFO _IOW (MD_MAJOR, 0x23, mdu_array_info_t) MD_MAJOR 50 include/uapi/linux/raid/md_u.h #define SET_DISK_INFO _IO (MD_MAJOR, 0x24) MD_MAJOR 51 include/uapi/linux/raid/md_u.h #define WRITE_RAID_INFO _IO (MD_MAJOR, 0x25) MD_MAJOR 52 include/uapi/linux/raid/md_u.h #define UNPROTECT_ARRAY _IO (MD_MAJOR, 0x26) MD_MAJOR 53 include/uapi/linux/raid/md_u.h #define PROTECT_ARRAY _IO (MD_MAJOR, 0x27) MD_MAJOR 54 include/uapi/linux/raid/md_u.h #define HOT_ADD_DISK _IO (MD_MAJOR, 0x28) MD_MAJOR 55 include/uapi/linux/raid/md_u.h #define SET_DISK_FAULTY _IO (MD_MAJOR, 0x29) MD_MAJOR 56 include/uapi/linux/raid/md_u.h #define HOT_GENERATE_ERROR _IO (MD_MAJOR, 0x2a) MD_MAJOR 57 include/uapi/linux/raid/md_u.h #define SET_BITMAP_FILE _IOW (MD_MAJOR, 0x2b, int) MD_MAJOR 60 include/uapi/linux/raid/md_u.h #define RUN_ARRAY _IOW (MD_MAJOR, 0x30, mdu_param_t) MD_MAJOR 62 include/uapi/linux/raid/md_u.h #define STOP_ARRAY _IO (MD_MAJOR, 0x32) MD_MAJOR 63 include/uapi/linux/raid/md_u.h #define STOP_ARRAY_RO _IO (MD_MAJOR, 0x33) MD_MAJOR 64 include/uapi/linux/raid/md_u.h #define RESTART_ARRAY_RW _IO (MD_MAJOR, 0x34)