From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758651AbYGDD1E (ORCPT ); Thu, 3 Jul 2008 23:27:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755669AbYGDD0y (ORCPT ); Thu, 3 Jul 2008 23:26:54 -0400 Received: from mx1.redhat.com ([66.187.233.31]:35149 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755568AbYGDD0x (ORCPT ); Thu, 3 Jul 2008 23:26:53 -0400 Date: Thu, 3 Jul 2008 23:26:34 -0400 (EDT) From: Mikulas Patocka To: Alan Cox cc: Jens Axboe , linux-kernel@vger.kernel.org, Neil Brown Subject: Re: [PATCH 1/2] Avoid bio_endio recursion In-Reply-To: <20080704004419.25f3c4b2@lxorguk.ukuu.org.uk> Message-ID: References: <20080624080744.GL20851@kernel.dk> <20080625082421.GU20851@kernel.dk> <20080626070723.GL20851@kernel.dk> <20080702082511.GF20055@kernel.dk> <20080703220449.20688451@lxorguk.ukuu.org.uk> <20080704000010.08db5daf@lxorguk.ukuu.org.uk> <20080704004419.25f3c4b2@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Jul 2008, Alan Cox wrote: > >> But not for SATA disks. The only thing SCSI and SATA disk have common is >> that they may process concurrently more requests. There's nothing else. > > The only material difference between SATA and SCSI is the encoding of the > command blocks and responses. > > Alan That statement is true for any two block device protocol. Then, why doesn't Linux use SCSI for all block devices? --- add scsi command block to struct bio and we can pass them directly to controller driver :) Mikulas