> I already have a patch to remove LASSERT() and LPx64 from lustre_user.h - http://review.whamcloud.com/6156 but it probably needs a refresh. Something similar should be done for lustre_idl.h also.
Indeed. And as Robert noted the ioctls should be consolidated into lustre_user.h, lustre_idl.h, or a new shared file.
> As for the passing of lov_stripe_md from userspace - could you please point out the particulars to me? This of course seems totally wrong, and it may be that it is obsolete and we can just get rid of it entirely instead of making a new ioctl.
See lustre/utils/obd.c:jt_obd_create() which uses OBD_IOC_CREATE and passes a lov_stripe_md() to the echo client module. When I asked about this a while ago I sort of understood that it was still in use but no one knew the details.
See http://review.whamcloud.com/10114 for a preliminary cut.
Patch landed to master.