From owner-freebsd-current@FreeBSD.ORG Tue Oct 26 16:51:52 2004 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 AB18D16A4CE for ; Tue, 26 Oct 2004 16:51:52 +0000 (GMT) Received: from athena.softcardsystems.com (mail.softcardsystems.com [12.34.136.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17A9443D4C for ; Tue, 26 Oct 2004 16:51:52 +0000 (GMT) (envelope-from sah@softcardsystems.com) Received: from athena (athena [12.34.136.114])i9QHnR6d006175 for ; Tue, 26 Oct 2004 12:49:27 -0500 Date: Tue, 26 Oct 2004 12:49:27 -0500 (EST) From: Sam X-X-Sender: sah@athena To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: AoE disk, stray ioctl? 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: Tue, 26 Oct 2004 16:51:52 -0000 Hello, Thanks to the taskqueue suggestion I have the AoE driver running properly now. I'm testing the device IO and found something curious. First let me say that I have an ioctl that fakes out the IOCATA ioctl to handle smart commands issued from smartmontools's smartctl. I'm dd'ing from/to a set of devices on my network: sixzero# dd if=/dev/aoed40953 bs=1024k count=10 > /dev/null 10+0 records in 10+0 records out 10485760 bytes transferred in 2.115033 secs (4957729 bytes/sec) sixzero# dd if=/dev/zero bs=1024k count=10 > /dev/aoed40953 10+0 records in 10+0 records out 10485760 bytes transferred in 2.291957 secs (4575025 bytes/sec) When I do the write, I see two attempted ioctl calls with a a command of 1076655123 (402C7413h). I return ENOTTY and everything works fine, but I'm curious what this is about. Is there something I should be handling that I'm not? Sam