[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50EA7F3A.2010601@kernel.dk>
Date: Mon, 07 Jan 2013 08:54:34 +0100
From: Jens Axboe <axboe@...nel.dk>
To: majianpeng <majianpeng@...il.com>
CC: linux-kernel <linux-kernel@...r.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists