Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
list_add_tail(&dip->hash_head, &dev_heads[DEV_HASH(device)]);
list_add_tail(&dip->all_head, &all_devs);
dip->start_time = BIT_TIME(iop->t.time);
+ dip->pre_culling = 1;
n_devs++;
}
+ if (dip->pre_culling) {
+ if (iop->type == IOP_Q || iop->type == IOP_A)
+ dip->pre_culling = 0;
+ else
+ return NULL;
+ }
+
iop->linked = dip_rb_ins(dip, iop);
#if defined(DEBUG)
if (iop->linked)
__u64 last_q, n_ds;
__u32 device;
+ int pre_culling;
int is_plugged, nplugs, n_timer_unplugs;
double start_time, last_plug, plugged_time, end_time;
};