Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3aa4e5e7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dm: md: Replace scheduling of request with direct call"

parents 3dad7f36 c9762c3c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2191,8 +2191,11 @@ static void dm_request_fn(struct request_queue *q)
		tio = tio_from_request(rq);
		/* Establish tio->ti before queuing work (map_tio_request) */
		tio->ti = ti;
		queue_kthread_work(&md->kworker, &tio->work);
		spin_unlock(q->queue_lock);
		if (map_request(tio, rq, md) == DM_MAPIO_REQUEUE)
			dm_requeue_original_request(md, rq);
		BUG_ON(!irqs_disabled());
		spin_lock(q->queue_lock);
	}

	goto out;