AoE disk, stray ioctl?

Sam sah at softcardsystems.com
Tue Oct 26 09:51:52 PDT 2004


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



More information about the freebsd-current mailing list