xpt_schedule_dev: priority of new entry

Andriy Gapon avg at FreeBSD.org
Wed Apr 17 15:55:47 UTC 2013


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


More information about the freebsd-scsi mailing list