[back on aoetools-discuss in case others would like to try the patch] On Wed, Dec 24, 2008 at 05:05:49PM -0600, Jon Nelson wrote: > On Wed, Dec 24, 2008 at 1:46 PM, Ed Cashin <ecas...@coraid.com> wrote: > > On Wed, Dec 24, 2008 at 11:41:43AM -0600, Jon Nelson wrote: > > ... > >> /home/jnelson/rpm/BUILD/aoe6-66/linux/drivers/block/aoe/aoecmd.c:868: > >> error: `struct request' has no member named `nr_hw_segments' > >> /home/jnelson/rpm/BUILD/aoe6-66/linux/drivers/block/aoe/aoecmd.c: In > >> function `aoe_end_buf': > >> /home/jnelson/rpm/BUILD/aoe6-66/linux/drivers/block/aoe/aoecmd.c:1097: > >> error: `struct request' has no member named `nr_hw_segments' > > > > Thanks for the information. Is this some kind of special kernel? > > 2.6.27.7 has nr_hw_segments as a member of "struct request". You > > can see it in include/linux/blkdev.h. > > This is the openSUSE 11.1 kernel. Typically openSUSE kernels are not > heavily modified (less so than most distros) but ya never know.
Recent changes to the kernel include the removal of the nr_hw_segments member of the struct request, but the "special" member is set aside for drivers to use, so the prerelease at the URL below uses that member instead. http://support.coraid.com/support/linux/tmp/aoe6-66-67pre4.diff This experimental driver includes some unrelated changes described in the NEWS file. It builds for me on an x86_64 openSUSE 11.1 VM. If you decide to try this prerelease, please let me know how it works for you. -- Support - http://support.coraid.com/support/howto.html Ed Cashin <ecas...@coraid.com> ------------------------------------------------------------------------------ _______________________________________________ Aoetools-discuss mailing list Aoetools-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aoetools-discuss