md.c (48a7afe314bfc4d7f50e1608632f503dbba7e013) | md.c (f98393a64ca1392130724c3acb4e3f325801d2b6) |
---|---|
1/* 2 md.c : Multiple Devices driver for Linux 3 Copyright (C) 1998, 1999, 2000 Ingo Molnar 4 5 completely rewritten, based on the MD driver code from Marc Zyngier 6 7 Changes: 8 --- 3066 unchanged lines hidden (view full) --- 3075 * the only valid external interface is through the md 3076 * device. 3077 * Also find largest hardsector size 3078 */ 3079 ITERATE_RDEV(mddev,rdev,tmp) { 3080 if (test_bit(Faulty, &rdev->flags)) 3081 continue; 3082 sync_blockdev(rdev->bdev); | 1/* 2 md.c : Multiple Devices driver for Linux 3 Copyright (C) 1998, 1999, 2000 Ingo Molnar 4 5 completely rewritten, based on the MD driver code from Marc Zyngier 6 7 Changes: 8 --- 3066 unchanged lines hidden (view full) --- 3075 * the only valid external interface is through the md 3076 * device. 3077 * Also find largest hardsector size 3078 */ 3079 ITERATE_RDEV(mddev,rdev,tmp) { 3080 if (test_bit(Faulty, &rdev->flags)) 3081 continue; 3082 sync_blockdev(rdev->bdev); |
3083 invalidate_bdev(rdev->bdev, 0); | 3083 invalidate_bdev(rdev->bdev); |
3084 } 3085 3086 md_probe(mddev->unit, NULL, NULL); 3087 disk = mddev->gendisk; 3088 if (!disk) 3089 return -ENOMEM; 3090 3091 spin_lock(&pers_lock); --- 2668 unchanged lines hidden --- | 3084 } 3085 3086 md_probe(mddev->unit, NULL, NULL); 3087 disk = mddev->gendisk; 3088 if (!disk) 3089 return -ENOMEM; 3090 3091 spin_lock(&pers_lock); --- 2668 unchanged lines hidden --- |