All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Jan Kara <jack@suse.cz>
Cc: LKML <linux-kernel@vger.kernel.org>, stable@vger.kernel.org
Subject: Re: [PATCH] block: Fix computation of merged request priority
Date: Fri, 31 Oct 2014 08:31:07 -0600	[thread overview]
Message-ID: <54539D2B.3000302@kernel.dk> (raw)
In-Reply-To: <1414698218-11199-1-git-send-email-jack@suse.cz>

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


      parent reply	other threads:[~2014-10-31 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30 19:43 [PATCH] block: Fix computation of merged request priority Jan Kara
2014-10-31 14:27 ` Jeff Moyer
2014-10-31 14:31 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54539D2B.3000302@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.