From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <54539D2B.3000302@kernel.dk> Date: Fri, 31 Oct 2014 08:31:07 -0600 From: Jens Axboe MIME-Version: 1.0 To: Jan Kara CC: LKML , stable@vger.kernel.org Subject: Re: [PATCH] block: Fix computation of merged request priority References: <1414698218-11199-1-git-send-email-jack@suse.cz> In-Reply-To: <1414698218-11199-1-git-send-email-jack@suse.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 2014-10-30 13:43, Jan Kara wrote: > Priority of a merged request is computed by ioprio_best(). If one of the > requests has undefined priority (IOPRIO_CLASS_NONE) and another request > has priority from IOPRIO_CLASS_BE, the function will return the > undefined priority which is wrong. Fix the function to properly return > priority of a request with the defined priority. Thanks Jan, applied. I fixed up a indentation issue, jfyi. -- Jens Axboe