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

Commit 7a150db5 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 8cb61a00 0b35054f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -848,8 +848,12 @@ static void dm_old_request_fn(struct request_queue *q)
		tio = tio_from_request(rq);
		/* Establish tio->ti before queuing work (map_tio_request) */
		tio->ti = ti;
		kthread_queue_work(&md->kworker, &tio->work);
		spin_unlock(q->queue_lock);
		if (map_request(tio) == DM_MAPIO_REQUEUE)
			dm_requeue_original_request(tio, false);

		BUG_ON(!irqs_disabled());
		spin_lock(q->queue_lock);
	}
}