From owner-freebsd-current@FreeBSD.ORG Thu Jul 24 07:07:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 903C037B401 for ; Thu, 24 Jul 2003 07:07:31 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6229043F75 for ; Thu, 24 Jul 2003 07:07:30 -0700 (PDT) (envelope-from mdcki@gmx.net) Received: (qmail 1069 invoked by uid 65534); 24 Jul 2003 14:07:29 -0000 Received: from pD9E2D202.dip.t-dialin.net (EHLO gmx.net) (217.226.210.2) by mail.gmx.net (mp006) with SMTP; 24 Jul 2003 16:07:29 +0200 Message-ID: <3F1FE841.70805@gmx.net> Date: Thu, 24 Jul 2003 16:08:01 +0200 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en, pl, ru MIME-Version: 1.0 To: swp@uni-altai.ru References: <20030724124909.GA47244@bspu.secna.ru> In-Reply-To: <20030724124909.GA47244@bspu.secna.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: ata tagged queuing support question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 24 Jul 2003 14:07:31 -0000 mitrohin a.s. wrote: > helo. > > ata-disk.c > > /* use tagged queueing if allowed and supported */ > #if 0 /* disable tags for now */ > if (ata_tags && ad_tagsupported(adp)) { > adp->num_tags = atadev->param->queuelen; > adp->flags |= AD_F_TAG_ENABLED; > adp->device->channel->flags |= ATA_QUEUED; > if (ata_command(atadev, ATA_C_SETFEATURES, > 0, 0, ATA_C_F_DIS_RELIRQ, ATA_WAIT_INTR)) > ata_prtdev(atadev, "disabling release interrupt failed\n"); > if (ata_command(atadev, ATA_C_SETFEATURES, > 0, 0, ATA_C_F_DIS_SRVIRQ, ATA_WAIT_INTR)) > ata_prtdev(atadev, "disabling service interrupt failed\n"); > } > #endif > > tagged queueing broken in -current? i have IBM ICxxxxxAV drives and want > to use this feature. can i enable this block? Don't. It's very frequently broken by *hardware* and not worth the trouble in terms of performance.