md: remove plug_cnt feature of plugging.
[deliverable/linux.git] / drivers / md / raid1.c
index cacd008d68644428914b39822417209cd00dddc8..36a8fc059ac36efc068603c51348132324d5d399 100644 (file)
@@ -2173,8 +2173,7 @@ static void raid1d(struct mddev *mddev)
        blk_start_plug(&plug);
        for (;;) {
 
-               if (atomic_read(&mddev->plug_cnt) == 0)
-                       flush_pending_writes(conf);
+               flush_pending_writes(conf);
 
                spin_lock_irqsave(&conf->device_lock, flags);
                if (list_empty(head)) {
This page took 0.025873 seconds and 5 git commands to generate.