Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964781AbVI0BAy (ORCPT ); Mon, 26 Sep 2005 21:00:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964783AbVI0BAy (ORCPT ); Mon, 26 Sep 2005 21:00:54 -0400 Received: from zproxy.gmail.com ([64.233.162.202]:62201 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S964782AbVI0BAx convert rfc822-to-8bit (ORCPT ); Mon, 26 Sep 2005 21:00:53 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=SAqhFxL8Af9yZNlCDUoTb2nKqSRNsb9P5znN1XIZ5vWATtvK5KbIB4gWrhfU9JBWpkA3pr4BKzoODTcP0rBPMrdneB3escdAd58y9GYIlAVVpNxvgSnoci83x/UV6Mqt/pyIPpq4c/0pgOrZc8VeVjp10ocR7mlGULof40CA4fc= Message-ID: <355e5e5e0509261800271c39b7@mail.gmail.com> Date: Mon, 26 Sep 2005 21:00:48 -0400 From: Lukasz Kosewski Reply-To: Lukasz Kosewski To: Jeff Garzik Subject: [PATCH 0/3] Add disk hotswap support to libata RESEND #5 Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2441 Lines: 51 Hello Jeff, all, Once again I besiege you with what I hope is the last necessary fix to my hotswap patches! For those caught with their pants down, the purpose of these patches is as follows: patch1: Mask out the correct hotswap interrupts on the Promise SATAII150 line of controllers. patch2: Add a disk hotswap API to libata, a general purpose infrastructure which all libata drivers can use to play with disk swapping. patch3: A reference and working implementation of a driver using this architecture with the sata_promise module. Tested on SATA150 and SATAII150 Tx4/Tx2 Plus controllers. The differences between this patchset and previous ones: - no longer memory leaking struct pdc_host_priv all over the place, just in one (there are other leaks there too... I even added a comment saying that this should be taken care of!). - Slight difference in the order of instructions executed on disk removal to ensure that we don't have instructions bottled up in the ata workqueue waiting on a disk that's been removed. These patches will apply against seemingly any incarnation of the 2.6.14-rc2 kernel, HOWEVER (BIG HOWEVER!) in my testing (with 2.6.14-rc2 and 2.6.14-rc2-git5), the original -rc2 release has interesting problems that were rectified between 2.6.14-rc2-git5, which would cause kernel panics on disk removal during heavy I/O (thanks to Thomas Lustig for pointing out something was awry!). So if you plan on sending me "hey, it crashed!" messages, please use 2.6.15-git5 or later. The remaining vestiges of issues that I see might be related to swapping strange combinations of disks... I"ve tried to properly reset flags and such to allow swapping and switching arbitrary disks, but I only have a few disks and so only observed a few errors. If you get strange errors trying to go from some disk of type A to another disk of type B (for instance, LBA48 to non-LBA48 drives, vice versa, different capacities being picked up wrong, etc), let me know! That's about it. Thanks to Net Integration Technologies for giving me the freedom to do this kind of work and do the initial submission while working for them, and thanks to the testers; keep it coming! Luke Kosewski - 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/