From owner-freebsd-stable Wed Feb 12 17:42:28 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A738D37B401; Wed, 12 Feb 2003 17:42:24 -0800 (PST) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D909C43FAF; Wed, 12 Feb 2003 17:42:22 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 290842180EE; Thu, 13 Feb 2003 10:42:21 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is1.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id h1D1gLc06185; Thu, 13 Feb 2003 10:42:21 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AHV59198; Thu, 13 Feb 2003 10:42:17 +0900 (JST) Date: Thu, 13 Feb 2003 10:42:17 +0900 Message-ID: From: Hidetoshi Shimokawa To: "Daniel O'Connor" Cc: FreeBSD Stable List , Hidetoshi Shimokawa Subject: Re: sbp + drive enclosures In-Reply-To: <1045099783.398.20.camel@chowder.gsoft.com.au> References: <1045096485.398.14.camel@chowder.gsoft.com.au> <1045099783.398.20.camel@chowder.gsoft.com.au> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 13 Feb 2003 11:59:43 +1030, Daniel O'Connor wrote: > > On Thu, 2003-02-13 at 11:37, Hidetoshi Shimokawa wrote: > > > Unfortunately when I disconnect it the firewire half seems to notice, > > > but it doesn't notify the SCSI layer :( > > This seems FAQ, I should add description to manpage.. > > Ahh, I read the 00README file, but I didn't see the FAQ. Unfortunately, no FAQ yet ... > > This is intentional because some drive might be > > failed to be proved after bus reset. To prevent detaching > > mounted filesystem, it's not detached at first bus reset. > > After several bus reset it will notify to the SCSI layer. > > Try 'fwcontrol -r' several times or don't worry about it too much :-) > > Ahh.. Takes a few though. Is it possible to add a 'Really go away' > command? depends on how a user notifies to kernel. sbp doesn't have a device node yet so i cannot do ioctl now. I thinks the command should be issued from CAM layer but I don't know what command should be used. > > This behavier enables us active filesystem detaching and reattaching. > > Even while the some process is writing/reading activily on the > > filesystem it sould be safely detached and then reattached safely. > > OK, I wasn't sure given my other problem ;) It seems that I should put back some M_NOWAIT flags to malloc. I'll send you patch later. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message