From owner-freebsd-current@freebsd.org Mon Jul 13 08:11:18 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E086999B7C2 for ; Mon, 13 Jul 2015 08:11:18 +0000 (UTC) (envelope-from okuno.kohji@jp.panasonic.com) Received: from smtp.mei.co.jp (smtp.mei.co.jp [133.183.100.20]) by mx1.freebsd.org (Postfix) with ESMTP id 8A5B01DE4 for ; Mon, 13 Jul 2015 08:11:17 +0000 (UTC) (envelope-from okuno.kohji@jp.panasonic.com) Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile13) with ESMTP id t6D8BBBR011702 for ; Mon, 13 Jul 2015 17:11:11 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili13) with ESMTP id t6D8BBJ26398 for ; Mon, 13 Jul 2015 17:11:11 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi12) id t6D8BBQF010757; Mon, 13 Jul 2015 17:11:11 +0900 Received: from localhost by lomi12.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id t6D8BAP0010721; Mon, 13 Jul 2015 17:11:10 +0900 Date: Mon, 13 Jul 2015 17:11:10 +0900 (JST) Message-Id: <20150713.171110.531869520391748650.okuno.kohji@jp.panasonic.com> To: freebsd-current@freebsd.org Cc: okuno.kohji@jp.panasonic.com Subject: Re: Why shoud we cause panic in scsi_da.c? From: Kohji Okuno In-Reply-To: <20150709.150520.1823457260978955949.okuno.kohji@jp.panasonic.com> References: <20150709.150520.1823457260978955949.okuno.kohji@jp.panasonic.com> Organization: Panasonic Corporation X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 08:11:19 -0000 Hi, Could you comment on my quesion? Best regards, Kohji Okuno > Hi, > > I found panic() in scsi_da.c. Please find the following. > I think we should return with error without panic(). > What do you think about this? > > scsi_da.c: > 3018 } else if (bp != NULL) { > 3019 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) > 3020 panic("REQ_CMP with QFRZN"); > > Best regards, > Kohji Okuno > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"