Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932240AbVJVP3T (ORCPT ); Sat, 22 Oct 2005 11:29:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932237AbVJVP3T (ORCPT ); Sat, 22 Oct 2005 11:29:19 -0400 Received: from rwcrmhc11.comcast.net ([204.127.198.35]:45038 "EHLO rwcrmhc11.comcast.net") by vger.kernel.org with ESMTP id S1751341AbVJVP3S (ORCPT ); Sat, 22 Oct 2005 11:29:18 -0400 Subject: Re: ioctls, etc. (was Re: [PATCH 1/4] sas: add flag for locally attached PHYs) From: Sergey Panov To: Christoph Hellwig Cc: Stefan Richter , linux-scsi@vger.kernel.org, Linux Kernel , Jeff Garzik , Luben Tuikov , andrew.patterson@hp.com, Christoph Hellwig , "Moore, Eric Dean" , jejb@steeleye.com, Linus Torvalds In-Reply-To: <20051022105815.GB3027@infradead.org> References: <4359395B.9030402@pobox.com> <43593FE1.7020506@adaptec.com> <4359440E.2050702@pobox.com> <43595275.1000308@adaptec.com> <435959BE.5040101@pobox.com> <43595CA6.9010802@adaptec.com> <43596070.3090902@pobox.com> <43596859.3020801@adaptec.com> <43596F16.7000606@pobox.com> <435A1793.1050805@s5r6.in-berlin.de> <20051022105815.GB3027@infradead.org> Content-Type: text/plain Organization: Home Date: Sat, 22 Oct 2005 11:28:30 -0400 Message-Id: <1129994910.6286.21.camel@sipan.sipan.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1790 Lines: 35 On Sat, 2005-10-22 at 11:58 +0100, Christoph Hellwig wrote: > On Sat, Oct 22, 2005 at 12:42:27PM +0200, Stefan Richter wrote: > > A. Post mock-ups and pseudo code about how to change the core, discuss. > > B. Set up a scsi-cleanup tree. In this tree, > > 1. renovate the core (thereby break all command set drivers and > > all transport subsystems), > > No way. Doing things from scatch is a really bad idea. See how far we came > with Linux 2.6 scsi vs 2.4 scsi without throwing everything away and break the > world. Please submit changes to fix _one_ thing at a time and fix all users. > Repeat until done or you don't care anymore. It is a mistake to think that you can not do a big rework and keep SCSI sub-system stable. You just have to make sure the OLD way is supported for as log as it is needed. E.g. before moving in the RIGHT direction and weeding out parallel SCSI atavism from the common SCSI layer (or should I say SAM, to please Luben) you can insert "generic" transport layer at the bottom (just like Luben inserted his SAS) and use it to keep all currently supported drivers stable. SCSI mid-layer can be reworked in any number of steps, even in one step, because is not a big thing, it is just 11k lines plus 4k of recently added transport modules. > - > 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/ - 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/