[ofa-general] Re: [PATCH] for-2.6.23 ib/umad: add partition support

Roland Dreier rdreier at cisco.com
Fri Jun 22 09:19:51 PDT 2007


 > We could have asked all users to use pwrite with offset 0, and then other I
 > think pos field would be useful for other things like versioning.  As it is,
 > people use write to pass in MADs, so I'm not sure what does pos point to.

Oh... I don't think that's a very good interface.  I don't think
people expect character special files to pay attention to offsets,
especially not in a magic way.  It's probably better to just use
read/write for IO and ioctl for control stuff.

 - R.



More information about the general mailing list