From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: Machine hanging on synchronize cache on shutdown 2.6.22-rc4-git[45678] Date: Mon, 18 Jun 2007 20:33:37 +0900 Message-ID: <46766D91.90303@gmail.com> References: <200706181129.l5IBT0Sa002063@harpo.it.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from wa-out-1112.google.com ([209.85.146.183]:43436 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754120AbXFRLdn (ORCPT ); Mon, 18 Jun 2007 07:33:43 -0400 Received: by wa-out-1112.google.com with SMTP id v27so2134882wah for ; Mon, 18 Jun 2007 04:33:42 -0700 (PDT) In-Reply-To: <200706181129.l5IBT0Sa002063@harpo.it.uu.se> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Mikael Pettersson Cc: brad@wasp.net.au, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org Mikael Pettersson wrote: > FWIW, I'm seeing scsi layer accesses (cache flushes) after things > like rmmod sata_promise. They error out and don't seem to cause > any harm, but the fact that they occur at all makes me nervous. That's okay. On rmmod, as the low level device (ATA) goes away first just as in hot unplug, sd gets notified *after* the device is gone but sd still tries to clean up and issues the commands which are properly rejected by the SCSI midlayer as the device is marked offline already, so nothing to worry about there. -- tejun