[openib-general] [patch] update uverbs_event_get_sb() to new get_sb_pseudo()

Bernhard Fischer rep.nop at aon.at
Thu Jul 13 08:32:07 PDT 2006


On Thu, Jul 13, 2006 at 05:15:18PM +0300, Michael S. Tsirkin wrote:
>Quoting r. Bernhard Fischer <rep.nop at aon.at>:
>> Subject: [patch] update uverbs_event_get_sb() to new get_sb_pseudo()
>> 
>> Hi,
>> 
>> get_sb_pseudo was changed but uverbs was not updated.
>
>svn only supports latest kernel.org release.

AFAICT, i have 2.6.18-rc1-git6 (fetched about 1 hour ago..)

grep get_sb_pseudo include/linux/fs.h -A2
extern int get_sb_pseudo(struct file_system_type *, char *,
        struct super_operations *ops, unsigned long,
        struct vfsmount *mnt);

openib gen2 has
 grep get_sb_pseudo
../cvs/openib.gen2/upstream/gen2/trunk/src/linux-kernel/infiniband/core/uverbs_main.c
-A1
        return get_sb_pseudo(fs_type, "infinibandevent:", NULL,
                             INFINIBANDEVENTFS_MAGIC);


>
>> 
>> PS: should nowadays the in-kernel impl be used instead of the one in
>> svn?
>> 
>> Signed-off-by: Bernhard Fischer <berny_f at aon.at>
>
>Please test 2.6.18-rc1 if possible. There's also a way to port just
>the infiniband bits from 2.6.18 to older kernels if you want to.

I copied src/linux-kernel/infiniband into the drivers/ dir like i always
did (after rm'ing the in-kernel drivers/infiniband dir).

Neither uverbs_main.c did compile (hence the trivial patchlet in this
thread) nor ipoib (complaining about xmit_lock not in netdev or the
like).

Is using the linux-kernel/infiniband driver from svn still the proper
thing to do?
Does ipoib from svn build for the current kernel?
hm.. Could it be that the current git repo is not supported but only the
last "prepatch"?




More information about the general mailing list