fix the lustre compilation problems for older lustre versions. Add the prototype for the static function to avoid a warning message.
Этот коммит содержится в:
родитель
2409fa166b
Коммит
55f0e1a1f8
@ -31,6 +31,12 @@ extern int mca_fs_lustre_stripe_width;
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
|
||||
#ifndef LOV_MAX_STRIPE_COUNT
|
||||
#define LOV_MAX_STRIPE_COUNT 160
|
||||
#endif
|
||||
|
||||
|
||||
int mca_fs_lustre_component_init_query(bool enable_progress_threads,
|
||||
bool enable_mpi_threads);
|
||||
struct mca_fs_base_module_1_0_0_t *
|
||||
|
@ -33,13 +33,8 @@
|
||||
#include <lustre/liblustreapi.h>
|
||||
#include <lustre/lustre_user.h>
|
||||
|
||||
/*
|
||||
* file_open_lustre
|
||||
*
|
||||
* Function: - opens a new file
|
||||
* Accepts: - same arguments as MPI_File_open()
|
||||
* Returns: - Success if new file handle
|
||||
*/
|
||||
static void *alloc_lum();
|
||||
|
||||
static void *alloc_lum()
|
||||
{
|
||||
int v1, v3, join;
|
||||
@ -52,6 +47,13 @@ static void *alloc_lum()
|
||||
return malloc(MAX(v1, v3));
|
||||
}
|
||||
|
||||
/*
|
||||
* file_open_lustre
|
||||
*
|
||||
* Function: - opens a new file
|
||||
* Accepts: - same arguments as MPI_File_open()
|
||||
* Returns: - Success if new file handle
|
||||
*/
|
||||
|
||||
int
|
||||
mca_fs_lustre_file_open (struct ompi_communicator_t *comm,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user