/* Description: Initialize this blk_iopoll structure. Before being actively used, the driver must call blk_iopoll_enable().  */
void blk_iopoll_init(struct blk_iopoll *iop, int weight, blk_iopoll_fn *poll_fn)
/* Description: Initialize this blk_iopoll structure. Before being actively used, the driver must call blk_iopoll_enable().  */
void blk_iopoll_init(struct blk_iopoll *iop, int weight, blk_iopoll_fn *poll_fn)
{
	memset(iop, 0, sizeof(*iop));
	INIT_LIST_HEAD(&iop->list);
	iop->weight = weight;
	iop->poll = poll_fn;
	set_bit(IOPOLL_F_SCHED, &iop->state);
}