Messages in this thread | | | Date | Mon, 07 Jan 2013 08:54:34 +0100 | From | Jens Axboe <> | Subject | Re: [PATCH] block: Remove judgement for rq_mergeable(rq) in func elv_rqhash_find. |
| |
On 2013-01-07 06:08, majianpeng wrote: > Because only mergeable rq can add rqhash.So it does not make sense to > judge rq_mergeable(rq) in func elv_rqhash_find.
It does make sense. A request is always mergeable when it enters the hash, but it may not remain mergeable. This can happen if we merge it to its maximum size, for instance.
-- Jens Axboe
| |