The server directory contains the top level implementation of the server
itself. All other systems,  like BMI, job, trove, etc. are helpers that the
server uses to accomplish its work. In general, only files in the server
directory should make calls to other functions defined in source files
within the server directory.

 

Hope this helps,

Elaine

 

From: 欧佳欣 [mailto:[email protected]] 
Sent: Monday, September 05, 2011 11:36 AM
To: Elaine Quarles
Subject: Re:RE: [Pvfs2-developers] Some quesions about function call
betweentwodifferent modules in pvfs2

 

So,Can the code in job module calls a function from pvfs2-server.c ? such as
the code in job.c

 

 

------------------ Original ------------------

From:  "Elaine Quarles"<[email protected]>;

Date:  Mon, Sep 5, 2011 11:10 PM

To:  "'欧佳欣'"<[email protected]>; 

Cc:  "'pvfs2-developers'"<[email protected]>; 

Subject:  RE: [Pvfs2-developers] Some quesions about function call
betweentwodifferent modules in pvfs2

 

trove-migrate.c is a special module in that its entire purpose is to perform
data migration when structural changes are made to the OrangeFS/PVFS2
database. In that sense, it is OrangeFS-specific rather than part of the
generic trove implementation. It includes some .h files that are typically
not included in trove modules.

 

Thanks,

Elaine

 

From: 欧佳欣 [mailto:[email protected]] 
Sent: Monday, September 05, 2011 10:44 AM
To: Elaine Quarles
Subject: Re: [Pvfs2-developers] Some quesions about function call
betweentwodifferent modules in pvfs2

 

But I find that , in src/io/trove/trove-migrate.c

the function 'migrate_collection_0_1_4' also calls the function
get_server_config_struct() which is defined in pvfs2-server.

So,I want to kown why it can call the function in pvfs2-server , but
dbpf-keyval.c can't ?(the trove-migrate.c source file is also in the trove
level in orangefs-2.8.3-EXP)

 

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to