[PVFS2-developers] romio/pvfs2 auto-filesystem detection
pw at osc.edu
Tue Mar 29 11:31:27 EST 2005
robl at mcs.anl.gov wrote on Mon, 28 Mar 2005 22:55 -0600:
> On Mon, Mar 28, 2005 at 06:57:20PM -0500, Pete Wyckoff wrote:
> > Where should the define live?
> I know we used to use PVFS_SUPER_MAGIC at some point, because I asked
> NeillM what the name I should use for the constant :> I guess it
> changed from PVFS2_SUPER_MAGIC to just PVFS2_MAGIC sometime.
> pvfs2-types.h seems like the best place since we already have
> fs-specifc things like PVFS2_NAME_MAX in that header
Sounds good and seems to work. Here is the patch to mpich2-1.0.1
to make it look at pvfs2.h in the fs type determination code. RobL,
can you make sure it gets into the next mpich2 release?
diff -ruN mpich2-1.0.1-stock/src/mpi/romio/adio/common/ad_fstype.c mpich2-1.0.1/src/mpi/romio/adio/common/ad_fstype.c
--- mpich2-1.0.1-stock/src/mpi/romio/adio/common/ad_fstype.c 2004-10-04 11:51:24.000000000 -0400
+++ mpich2-1.0.1/src/mpi/romio/adio/common/ad_fstype.c 2005-03-29 10:59:43.000000000 -0500
@@ -24,6 +24,10 @@
/* Notes on detection process:
* There are three more "general" mechanisms that we use for detecting
More information about the PVFS2-developers