From owner-freebsd-scsi@FreeBSD.ORG Tue Jul 24 07:49:38 2012 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAED8106566B; Tue, 24 Jul 2012 07:49:38 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B6E878FC15; Tue, 24 Jul 2012 07:49:37 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA00257; Tue, 24 Jul 2012 10:49:36 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1StZs7-0004BY-LC; Tue, 24 Jul 2012 10:49:35 +0300 Message-ID: <500E538E.1060908@FreeBSD.org> Date: Tue, 24 Jul 2012 10:49:34 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120620 Thunderbird/13.0.1 MIME-Version: 1.0 To: Alexander Motin References: <500D54B9.1010800@FreeBSD.org> In-Reply-To: <500D54B9.1010800@FreeBSD.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: [RFC] CAM/GEOM media change notification X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 07:49:38 -0000 on 23/07/2012 16:42 Alexander Motin said the following: > Patch can be found here: > http://people.freebsd.org/~mav/mediachange8.patch > > Any comments/objections/propositions? Alexander, would it make sense for scsi_cd to also use GET EVENT STATUS NOTIFICATION command (4A) with Polled flag and Media bit set in Notification Class in addition to TUR for devices that do not support asynchronous notification? I think that this should increase reliability of detecting CD media changes between polls. -- Andriy Gapon