Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 19:34:20 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-scsi@FreeBSD.org
Subject:   Re: xpt_schedule_dev: priority of new entry
Message-ID:  <51E96A8C.7050301@FreeBSD.org>
In-Reply-To: <516EC5F7.5030908@FreeBSD.org>
References:  <516EC5F7.5030908@FreeBSD.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

[ping]

on 17/04/2013 18:55 Andriy Gapon said the following:
> 
> 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: <http://docs.FreeBSD.org/cgi/mid.cgi?51E96A8C.7050301>