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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/