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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E96A8C.7050301>