Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757873AbZCBFHN (ORCPT ); Mon, 2 Mar 2009 00:07:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750786AbZCBFG7 (ORCPT ); Mon, 2 Mar 2009 00:06:59 -0500 Received: from wf-out-1314.google.com ([209.85.200.174]:49627 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742AbZCBFG7 (ORCPT ); Mon, 2 Mar 2009 00:06:59 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=l+xNtkiely8icqwNg0VIK2yLoz7cc7igaN9BOOkY3MCkDGSy6lXQi26URIdLDtq8Is avheuXQvRf8hOKMnDGbGWzAY17nvNtbRtx6inWOV2hwUbr8iTzk2ALk51khVRsqUOfjO sdiYSwqOvVns9lSnNClUACWdaqB9GXtCKdsfM= MIME-Version: 1.0 Date: Mon, 2 Mar 2009 13:06:57 +0800 Message-ID: Subject: The difference of request dir between AS and Deadline I/O scheduler? From: =?GB2312?B?0Lu42Q==?= To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 23 Hi, I'm little confused about the defination of request dir in AS and Deadline I/O scheduler. In AS, the request dir is defined by wheher it's sync: data_dir = rq_is_sync(rq); But in Deadline, the requests are grouped by read and write. Why is there the difference since AS is an extension of Deadline? what's the consideration? Thanks, -- Xie Gang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/