Commit b14eb4cf authored by Jozsef Makai's avatar Jozsef Makai

MGM,FST: started implementing closew ssi on FST

parent cc5c4255
......@@ -47,6 +47,8 @@ public:
XrdOucString FstHostPort; // <host>:<port>
XrdOucString Manager; // <host>:<port>
XrdOucString KernelVersion; // kernel version of the host
XrdOucString FstProtoWFEndpoint; // proto wf endpoint (typically CTA frontend)
XrdOucString FstProtoWFResource; // proto wf resource (typically CTA frontend)
int PublishInterval; // Interval after which filesystem information should be published
XrdOucString StartDate; // Time when daemon was started
XrdOucString KeyTabAdler; // adler string of the keytab file
......
......@@ -455,6 +455,18 @@ XrdFstOfs::Configure(XrdSysError& Eroute, XrdOucEnv* envP)
}
}
if (!strcmp("protowfendpoint", var)) {
if ((val = Config.GetWord())) {
eos::fst::Config::gConfig.FstProtoWFEndpoint = val;
}
}
if (!strcmp("protowfresource", var)) {
if ((val = Config.GetWord())) {
eos::fst::Config::gConfig.FstProtoWFResource = val;
}
}
if (!strcmp("qdbcluster", var)) {
std::string qdb_cluster;
......@@ -1552,4 +1564,10 @@ XrdFstOfs::WaitForOngoingIO(std::chrono::seconds timeout)
return all_done;
}
int
XrdFstOfs::CallSynchronousClosew(const Fmd& fmd, const string& ownerName,
const string& ownerGroupName, const string& instanceName) {
return 0;
}
EOSFSTNAMESPACE_END
......@@ -306,6 +306,9 @@ public:
bool linkPerThread = false,
bool retry = true);
int CallSynchronousClosew(const Fmd& fmd, const string& ownerName,
const string& ownerGroupName, const string& instanceName);
//----------------------------------------------------------------------------
//! Function dealing with plugin calls
//----------------------------------------------------------------------------
......@@ -324,7 +327,7 @@ public:
//----------------------------------------------------------------------------
//! Allows to switch on error simulation in the OFS stack
//!
//! @param tag type of simulation eroor
//! @param tag type of simulation error
//----------------------------------------------------------------------------
void SetSimulationError(const char* tag);
......
......@@ -31,7 +31,6 @@
#include "common/eos_cta_pb/EosCtaAlertHandler.hh"
#include "mgm/WFE.hh"
#include "mgm/Stat.hh"
#include "mgm/XrdMgmOfs.hh"
#include "mgm/XrdMgmOfsDirectory.hh"
#include "mgm/Master.hh"
#include "namespace/interface/IView.hh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment