[PVFS-users] Questions on changing striping parameters with
Thu, 10 Aug 2000 17:45:52 -0400 (EDT)
> I've just started using PVFS. I have an I/O bench program where I would
> like to set the striping parameters (via the pvfs_stat structure) to different
> values than the default. According to the documentation, I need to use
> pvfs_open to specify these striping parameters.
> My questions are:
> 1) I have downloaded the source. I notice that both the utility programs
> and example programs link to a library called libminipvfs.a. If I
> want to do static linking, is this the library I need to use? (libpvfs.a
> does not contain the pvfs calls, and libminipvfs.a was not installed in
> /usr/lib when I performed the install, which is why I am asking.)
Yes- this is the best library to use if you are going to use the pvfs_xxx
interface. It does not contain anything except those functions. (As a
side note, they should be available in the libpvfs.a as well, but I would
recommend just using the mini for this setup).
> 2) Once I use ppfs_open, do I need to use the ppfs_* library calls for
> the other I/O functions (for example, read/write), and can I just
> use the Unix I/O functions?
You should use all of one or the other- either all pvfs_xxx calls or all
Unix I/O functions.
Good luck. And of course if you come up with any interesting results we
are always happy to hear about them :)