Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 18:55:35 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-scsi@FreeBSD.org
Subject:   xpt_schedule_dev: priority of new entry
Message-ID:  <516EC5F7.5030908@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

I wonder what is the reason for the following code:
		/* New entry on the queue */
		if (new_priority < old_priority)
			pinfo->priority = new_priority;

Shouldn't we unconditionally honor new_priority given that this is the new entry case?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?516EC5F7.5030908>