summaryrefslogtreecommitdiff
path: root/md_u.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove last traces of HOT_ADD_DISKJes Sorensen2019-11-271-1/+0
| | | | | | This ioctl is no longer used, so remove all references to it. Signed-off-by: Jes Sorensen <jsorensen@fb.com>
* md_u: Remove unused ioctl declaration of START_ARRAYZhilong Liu2017-06-021-1/+0
| | | | | | | | | START_ARRAY is no longer used in the code, so get rid of it. MD commit: fbedac04fa11 ("[PATCH] md: the scheduled removal of the START_ARRAY ioctl for md") merged in the year 2006. Signed-off-by: Zhilong Liu <zlliu@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
* md_u: Remove some unused ioctl declarationsJes Sorensen2017-03-291-6/+0
| | | | | | These were no longer used in the code, so get rid of them. Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
* mdadm: Change timestamps to unsigned data type.Deepa Dinamani2015-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 32 bit signed timestamps will overflow in the year 2038. Change the user interface mdu_array_info_s structure timestamps: ctime and utime values used in ioctls GET_ARRAY_INFO and SET_ARRAY_INFO to unsigned int. This will extend the field to last until the year 2106. Add time_after/time_before and supporting typecheck from the kernel to take care of unsigned time wraparound. The long term plan is to get rid of ctime and utime values in this structure as this information can be read from the on-disk meta data directly. v0.90 on disk meta data uses u32 for maintaining time stamps. So this will also last until year 2106. Assumption is that the usage of v0.90 will be deprecated by year 2106. Timestamp fields in the on disk meta data for v1.0 version already use 64 bit data types. Signed-off-by: NeilBrown <neilb@suse.com>
* Add a new clustered diskGuoqing Jiang2015-06-171-0/+1
| | | | | | | | | | | | | | | | | | A clustered disk is added by the traditional --add sequence. However, other nodes need to acknowledge that they can "see" the device. This is done by --cluster-confirm: --cluster-confirm SLOTNUM:/dev/whatever (if disk is found) or --cluster-confirm SLOTNUM:missing (if disk is not found) The node initiating the --add, has the disk state tagged with MD_DISK_CLUSTER_ADD and the one confirming tag the disk with MD_DISK_CANDIDATE. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: NeilBrown <neilb@suse.de>
* Remove lots of unnecessary white space.NeilBrown2013-06-191-1/+0
| | | | | | | Now that I am using white-space mode in Emacs I can see all of this, and I don't like it :-) Signed-off-by: NeilBrown <neilb@suse.de>
* Remove spaces/tabs from ends of lines.Neil Brown2007-12-141-4/+4
|
* Initial bitmap supportNeil Brown2005-06-071-0/+7
| | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
* mdctl-v0.2mdctl-v0.2Neil Brown2001-06-081-0/+116