> -----Original Message----- > From: Hilko Bengen [mailto:ben...@hilluzination.de] > Sent: Thursday, October 14, 2010 3:38 AM > To: aoetools-discuss@lists.sourceforge.net > Subject: Re: [Aoetools-discuss] User-mode AoE initiator? > > * Jeff Sturm: > > > Does a user-mode driver exist in a source tree anywhere? Has anyone > > thought about or starting working on such a project? > > As far as I know, no such driver exists and I am unaware of any interface in the Linux > kernel that is meant for implementing block device drivers in user-space.
Thanks. I was looking for a driver similar to aoeping but with a full set of aoe commands. I don't have any need to interface with the Linux block layer. I could try starting with the aoeping source, or vblade. The latter supplies a target implementation, not initiator, but much of the code is likely common. > One could implement it using the NBD (Network block device) protocol over an > AF_UNIX socketpair. That's an interesting idea. One of my use cases involves Xen and virtualization. The host running aoe commands doesn't need to mount filesystems, it only attaches the block device to a guest virtual machine. The blktap driver is already a userspace process, and normally opens a block device directly. It could issue aoe commands to an Ethernet device instead. The kernel aoe driver is behaving erratically. For reasons we've been unable to determine, about 1 out of every 200 packets is lost. I've tried many ideas on the host side, reconfigured the switch, replaced the switch, implemented multipath, etc. It seems as though a user spacedriver would be easier to develop and debug. -Jeff ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Aoetools-discuss mailing list Aoetools-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aoetools-discuss