Re: [PATCH] block: Fix computation of merged request priority
From: Jens Axboe
Date: Fri Oct 31 2014 - 10:31:15 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/