All: The standalone apps in the admin directory like pvfs2-touch.c have to initialize as a client every time you run one of these programs.However,when you call "touch" through the kernel interface, *none* of this initialization executes, only the calls needed to create a file. All of this initialization is done when the client-core is started.
The reason the tcp send/receive buffer sizes are set during initialization is because these particular configuration settings apply to all connections created by the client. In other words, each connection created by the BMI-tcp module will use these settings, if provided. Becky 2011/7/19 欧佳欣 <[email protected]> > I read the source code of orangefs-2.8.3-EXP recently , when I > read the source code in pvfs2-touch.c , I found that the main function of > pvfs2-touch.c will call the "PVFS_util_init_defaults" functions to > initialize the pvfs2 server each time we create a file . And the > "PVFS_util_init_defaults" then call the "fs-add.sm" , In the fs-add.sm ,I > found that the client will send Message to the server to get the server > configuration, and then set the buffer size according to configuration file. > So I want to know that why we must set the buffer size each time we > create a file ? In my opinion , this information ,like setting the tcp > buffer size , will be set at the process of establish the connection in > general file systems. > So I want to know that whether we should set the buffer size every > time we create a file or not ? If so, I want to know why we must set the > buffer size every time ? > Thank you very much. > > _______________________________________________ > Pvfs2-developers mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers > > -- Becky Ligon OrangeFS Support and Development Omnibond Systems Anderson, South Carolina
_______________________________________________ Pvfs2-developers mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
