Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 1 Jan 2003 15:41:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 1 Jan 2003 15:41:26 -0500 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:62854 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 1 Jan 2003 15:41:26 -0500 Subject: Re: sd driver NOT_READY behavior / was Re: How does the disk buffer cache work? From: Alan Cox To: Matthew Zahorik Cc: Andrew Morton , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 01 Jan 2003 21:32:24 +0000 Message-Id: <1041456744.21748.12.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 16 On Wed, 2003-01-01 at 19:19, Matthew Zahorik wrote: > What is the correct behavior that I should implement? > > a. if !removable && not ready then error > b. if not ready then increase count until threshold then error > c if not ready then error > d. none of the above I would go for a time limit (you don't want to keep spamming the same command but to poll politely really IMHO) - 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/