aiori-Gfarm: sequel to #262 - sync interface (#269)

* aiori-Gfarm: update to the new aiori interface

* aiori-Gfarm: Gfarm_sync
master
otatebe 2020-11-06 18:15:39 +09:00 committed by GitHub
parent fb66e77072
commit 0e91769328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -284,6 +284,16 @@ Gfarm_stat(const char *fn, struct stat *buf, aiori_mod_opt_t *param)
return (0);
}
void
Gfarm_sync(aiori_mod_opt_t *param)
{
if (hints->dryRun)
return;
/* no cache in libgfarm */
return;
}
ior_aiori_t gfarm_aiori = {
.name = "Gfarm",
.name_legacy = NULL,
@ -304,5 +314,6 @@ ior_aiori_t gfarm_aiori = {
.initialize = Gfarm_initialize,
.finalize = Gfarm_finalize,
.get_options = NULL,
.sync = Gfarm_sync,
.enable_mdtest = true,
};