XRootD
XrdXrootdProtocol.hh
Go to the documentation of this file.
1 #ifndef __XROOTD_PROTOCOL_H__
2 #define __XROOTD_PROTOCOL_H__
3 /******************************************************************************/
4 /* */
5 /* X r d X r o o t d P r o t o c o l . h h */
6 /* */
7 /* (c) 2004 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* Produced by Andrew Hanushevsky for Stanford University under contract */
9 /* DE-AC02-76-SFO0515 with the Department of Energy */
10 /* */
11 /* This file is part of the XRootD software suite. */
12 /* */
13 /* XRootD is free software: you can redistribute it and/or modify it under */
14 /* the terms of the GNU Lesser General Public License as published by the */
15 /* Free Software Foundation, either version 3 of the License, or (at your */
16 /* option) any later version. */
17 /* */
18 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */
19 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
20 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
21 /* License for more details. */
22 /* */
23 /* You should have received a copy of the GNU Lesser General Public License */
24 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
25 /* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
26 /* */
27 /* The copyright holder's institutional names and contributor's names may not */
28 /* be used to endorse or promote products derived from this software without */
29 /* specific prior written permission of the institution or contributor. */
30 /******************************************************************************/
31 
32 #include <cstdlib>
33 #include <unistd.h>
34 #include <sys/types.h>
35 
36 #include "XrdNet/XrdNetPMark.hh"
37 #include "XrdSys/XrdSysError.hh"
38 #include "XrdSys/XrdSysPthread.hh"
39 #include "XrdSys/XrdSysRAtomic.hh"
41 #include "XrdSfs/XrdSfsDio.hh"
42 #include "XrdSfs/XrdSfsXioImpl.hh"
43 
44 #include "Xrd/XrdObject.hh"
45 #include "Xrd/XrdProtocol.hh"
49 #include "XProtocol/XProtocol.hh"
50 
51 /******************************************************************************/
52 /* D e f i n e s */
53 /******************************************************************************/
54 
55 #define ROOTD_PQ 2012
56 
57 #define XRD_LOGGEDIN 1
58 #define XRD_NEED_AUTH 2
59 #define XRD_BOUNDPATH 8
60 
61 #ifndef __GNUC__
62 #define __attribute__(x)
63 #endif
64 
65 /******************************************************************************/
66 /* x r d _ P r o t o c o l _ X R o o t d */
67 /******************************************************************************/
68 
69 class XrdNetSocket;
70 class XrdOucEnv;
71 class XrdOucErrInfo;
72 class XrdOucReqID;
73 class XrdOucStream;
74 class XrdOucTList;
75 class XrdOucTokenizer;
76 class XrdSecProtect;
77 class XrdSecProtector;
78 class XrdSfsDirectory;
79 class XrdSfsFACtl;
80 class XrdSfsFileSystem;
81 class XrdSecProtocol;
82 class XrdBuffer;
83 class XrdLink;
84 class XrdTlsContext;
85 class XrdXrootdFile;
86 class XrdXrootdFileLock;
87 class XrdXrootdFileTable;
88 class XrdXrootdJob;
89 class XrdXrootdMonitor;
90 class XrdXrootdPgwCtl;
91 class XrdXrootdPio;
92 class XrdXrootdStats;
93 class XrdXrootdWVInfo;
94 class XrdXrootdXPath;
95 
96 /******************************************************************************/
97 /* N a m e s p a c e X r d X r o o t d */
98 /******************************************************************************/
99 
100 namespace XrdXrootd
101 {
102 /******************************************************************************/
103 /* g d C a l l B a c k */
104 /******************************************************************************/
105 
106 class gdCallBack // Used for new style getData() with callback
107 {
108 public:
109 
110 // Called when getData with a buffer successfully completed with a suspension.
111 // A direct return is made if there was no suspension. Return values and action:
112 // >1 If getData with a buffer was called while in the callback, the operation
113 // is performed with a subsequent callback. Otherwise, a fatal error results.
114 // =0 Variable discard holds the number of bytes to be discarded from the
115 // from the socket (default 0). Return is made to link-level.
116 // <0 Considered a fatal link error.
117 //
118 virtual int gdDone() = 0;
119 
120 // Called when a fatal link error occurs during reading.
121 //
122 virtual void gdFail() {} // Called when a link failure occurs
123 
125 virtual ~gdCallBack() {}
126 };
127 
128 /******************************************************************************/
129 /* I O P a r m s */
130 /******************************************************************************/
131 
132 struct IOParms
133 {
135 union {
136 long long Offset;
137 long long WVBytes;
138 int EInfo[2];
139  };
140 int IOLen;
141 unsigned short Flags;
142 char reserved;
143 char Mode;
144 static const int useBasic = 0;
145 static const int useMMap = 1;
146 static const int useSF = 2;
147 };
148 }
149 
150 /******************************************************************************/
151 /* C l a s s X r d X r o o t d P r o t o c o l */
152 /******************************************************************************/
153 
155  public XrdSfsDio, public XrdSfsXio
156 {
157 friend class XrdXrootdAdmin;
158 public:
159 
160  void aioUpdate(int val) {srvrAioOps += val;}
161 
162  void aioUpdReq(int val) {linkAioReq += val;}
163 
164 static char *Buffer(XrdSfsXioHandle h, int *bsz); // XrdSfsXio
165 
166 XrdSfsXioHandle Claim(const char *buff, int datasz, int minasz=0) override;// XrdSfsXio
167 
168 static int Configure(char *parms, XrdProtocol_Config *pi);
169 
170  void DoIt() override {(*this.*Resume)();}
171 
172  int do_WriteSpan();
173 
174  int getData(gdCallBack *gdcbP, const char *dtype,
175  char *buff, int blen);
176 
177  int getData(gdCallBack *gdcbP, const char *dtype,
178  struct iovec *iov, int iovn);
179 
180  int getDump(const char *dtype, int dlen);
181 
182  int getPathID() {return PathID;}
183 
184  XrdProtocol *Match(XrdLink *lp) override;
185 
186  int Process(XrdLink *lp) override; // Sync: Job->Link.DoIt->Process
187 
188  int Process2();
189 
190  int ProcSig();
191 
192  void Recycle(XrdLink *lp, int consec, const char *reason) override;
193 
194 static void Reclaim(XrdSfsXioHandle h); // XrdSfsXio
195 
196  int SendFile(int fildes) override; // XrdSfsDio
197 
198  int SendFile(XrdOucSFVec *sfvec, int sfvnum) override; // XrdSfsDio
199 
200  void SetFD(int fildes) override; // XrdSfsDio
201 
202  int Stats(char *buff, int blen, int do_sync=0) override;
203 
204  void StreamNOP();
205 
206 XrdSfsXioHandle Swap(const char *buff, XrdSfsXioHandle h=0) override; // XrdSfsXio
207 
208 XrdXrootdProtocol *VerifyStream(int &rc, int pID, bool lok=true);
209 
212  ~XrdXrootdProtocol() {Cleanup();}
213 
214 static const int maxStreams = 16;
215 
216 // async configuration values (referenced outside this class)
217 //
218 static int as_maxperlnk; // Max async requests per link
219 static int as_maxperreq; // Max async ops per request
220 static int as_maxpersrv; // Max async ops per server
221 static int as_miniosz; // Min async request size
222 static int as_minsfsz; // Min sendf request size
223 static int as_seghalf;
224 static int as_segsize; // Aio quantum (optimal)
225 static int as_maxstalls; // Maximum stalls we will tolerate
226 static short as_okstutter; // Allowable stutters per transfer unit
227 static short as_timeout; // request timeout (usually < stream timeout)
228 static bool as_force; // aio to be forced
229 static bool as_aioOK; // aio is enabled
230 static bool as_nosf; // sendfile is disabled
231 static bool as_syncw; // writes to be synchronous
232 
233 private:
234 
235 // Note that Route[] structure (below) must have RD_Num elements!
236 //
237 enum RD_func {RD_chmod = 0, RD_chksum, RD_dirlist, RD_locate, RD_mkdir,
238  RD_mv, RD_prepare, RD_prepstg, RD_rm, RD_rmdir,
239  RD_stat, RD_trunc, RD_ovld, RD_client,
240  RD_open1, RD_open2, RD_open3, RD_open4, RD_Num};
241 
242  int do_Auth();
243  int do_Bind();
244  int do_ChkPnt();
245  int do_ChkPntXeq();
246  int do_Chmod();
247  int do_CKsum(int canit);
248  int do_CKsum(char *algT, const char *Path, char *Opaque);
249  int do_Close();
250  int do_Dirlist();
251  int do_DirStat(XrdSfsDirectory *dp, char *pbuff, char *opaque);
252  int do_Endsess();
253  int do_FAttr();
254  int do_gpFile();
255  int do_Login();
256  int do_Locate();
257  int do_Mkdir();
258  int do_Mv();
259  int do_Offload(int (XrdXrootdProtocol::*Invoke)(), int pathID);
260  int do_OffloadIO();
261  int do_Open();
262  bool do_PgClose(XrdXrootdFile *fP, int &rc);
263  int do_PgRead();
264  int do_PgRIO();
265  int do_PgWrite();
266  bool do_PgWAIO(int &rc);
267  int do_PgWIO();
268  int do_PgWIO(bool isFresh);
269  bool do_PgWIORetry(int &rc);
270  bool do_PgWIOSetup(XrdXrootdPgwCtl *pgwCtl);
271  int do_Ping();
272  int do_Prepare(bool isQuery=false);
273  int do_Protocol();
274  int do_Qconf();
275  int do_QconfCX(XrdOucTokenizer &qcargs, char *val);
276  int do_Qfh();
277  int do_Qopaque(short);
278  int do_Qspace();
279  int do_Query();
280  int do_Qxattr();
281  int do_Read();
282  int do_ReadV();
283  int do_ReadAll();
284  int do_ReadNone(int &retc, int &pathID);
285  int do_Rm();
286  int do_Rmdir();
287  int do_Set();
288  int do_Set_Cache(XrdOucTokenizer &setargs);
289  int do_Set_Mon(XrdOucTokenizer &setargs);
290  int do_Stat();
291  int do_Statx();
292  int do_Sync();
293  int do_Truncate();
294  int do_Write();
295  int do_WriteAio();
296  int do_WriteAll();
297  int do_WriteCont();
298  int do_WriteNone();
299  int do_WriteNone(int pathid, XErrorCode ec=kXR_noErrorYet,
300  const char *emsg=0);
301  int do_WriteNoneMsg();
302  int do_WriteV();
303  int do_WriteVec();
304 
305  int gdDone() override {return do_PgWIO(false);}
306 
307  void Assign(const XrdXrootdProtocol &rhs);
308 static int CheckSum(XrdOucStream *, char **, int);
309  void Cleanup();
310 static int Config(const char *fn);
311 static bool ConfigMon(XrdProtocol_Config *pi, XrdOucEnv &xrootdEnv);
312 static int ConfigSecurity(XrdOucEnv &xEnv, const char *cfn);
313  int fsError(int rc, char opc, XrdOucErrInfo &myError,
314  const char *Path, char *Cgi);
315  int fsOvrld(char opc, const char *Path, char *Cgi);
316  int fsRedirNoEnt(const char *eMsg, char *Cgi, int popt);
317  int getBuff(const int isRead, int Quantum);
318  char *getCksType(char *opaque, char *cspec=0, int cslen=0);
319  int getData(const char *dtype, char *buff, int blen);
320  int getDataCont();
321  int getDataIovCont();
322  int getDumpCont();
323  bool logLogin(bool xauth=false);
324 static int mapMode(int mode);
325  void Reset();
326 static int rpCheck(char *fn, char **opaque);
327  int rpEmsg(const char *op, char *fn);
328  int vpEmsg(const char *op, char *fn);
329 static int CheckTLS(const char *tlsProt);
330 static bool ConfigFS(XrdOucEnv &xEnv, const char *cfn);
331 static bool ConfigFS(const char *path, XrdOucEnv &xEnv, const char *cfn);
332 static bool ConfigGStream(XrdOucEnv &myEnv, XrdOucEnv *urEnv);
333 static int Squash(char *);
334  int StatGen(struct stat &buf, char *xxBuff, int xxLen, bool xa=false);
335 static int xapath(XrdOucStream &Config);
336 static int xasync(XrdOucStream &Config);
337 static int xcksum(XrdOucStream &Config);
338 static int xbif(XrdOucStream &Config);
339 static int xdig(XrdOucStream &Config);
340 static int xexp(XrdOucStream &Config);
341 static int xexpdo(char *path, int popt=0);
342 static int xfsl(XrdOucStream &Config);
343 static int xfsL(XrdOucStream &Config, char *val, int lix);
344 static int xfso(XrdOucStream &Config);
345 static int xgpf(XrdOucStream &Config);
346 static int xprep(XrdOucStream &Config);
347 static int xlog(XrdOucStream &Config);
348 static int xmon(XrdOucStream &Config);
349 static char *xmondest(const char *what, char *val);
350 static int xmongs(XrdOucStream &Config);
351 static bool xmongsend(XrdOucStream &Config, char *val, char *&dest,
352  int &opt, int &fmt, int &hdr);
353 static int xred(XrdOucStream &Config);
354 static int xred_clnt(XrdOucStream &Config, char *hP[2], int rPort[2]);
355 static bool xred_php(char *val, char *hP[2], int rPort[2], const char *what,
356  bool optport=false);
357 static void xred_set(RD_func func, char *rHost[2], int rPort[2]);
358 static bool xred_xok(int func, char *rHost[2], int rPort[2]);
359 static int xsecl(XrdOucStream &Config);
360 static int xtls(XrdOucStream &Config);
361 static int xtlsr(XrdOucStream &Config);
362 static int xtrace(XrdOucStream &Config);
363 static int xlimit(XrdOucStream &Config);
364 
365  int ProcFAttr(char *faPath, char *faCgi, char *faArgs,
366  int faALen, int faCode, bool doAChk);
367  int XeqFADel(XrdSfsFACtl &ctl, char *faVars, int faVLen);
368  int XeqFAGet(XrdSfsFACtl &ctl, char *faVars, int faVLen);
369  int XeqFALsd(XrdSfsFACtl &ctl);
370  int XeqFALst(XrdSfsFACtl &ctl);
371  int XeqFASet(XrdSfsFACtl &ctl, char *faVars, int faVLen);
372 
373 static XrdObjectQ<XrdXrootdProtocol> ProtStack;
375 
376 protected:
377 
378 static unsigned int getSID();
379 
380  void MonAuth();
381  int SetSF(kXR_char *fhandle, bool seton=false);
382 
383 static XrdXrootdXPath RPList; // Redirected paths
384 static XrdXrootdXPath RQList; // Redirected paths for ENOENT
385 static XrdXrootdXPath XPList; // Exported paths
386 static XrdSfsFileSystem *osFS; // The filesystem
387 static XrdSfsFileSystem *digFS; // The filesystem (digFS)
388 static XrdSecService *CIA; // Authentication Server
389 static XrdSecProtector *DHS; // Protection Server
390 static XrdTlsContext *tlsCtx; // Protection Server TLS available
391 static XrdXrootdFileLock *Locker; // File lock handler
392 static XrdScheduler *Sched; // System scheduler
393 static XrdBuffManager *BPool; // Buffer manager
394 static XrdSysError &eDest; // Error message handler
395 static XrdNetPMark *PMark; // Packet marking API
396 static const char *myInst;
397 static const char *TraceID;
398 static int RQLxist; // Something is present in RQList
399 static int myPID;
400 static int myRole; // Role for kXR_protocol (>= 2.9.7)
401 static int myRolf; // Role for kXR_protocol (< 2.9.7)
402 
403 static gid_t myGID;
404 static uid_t myUID;
405 static int myGNLen;
406 static int myUNLen;
407 static const char *myGName;
408 static const char *myUName;
409 static time_t keepT;
410 
411 // Admin control area
412 //
414 
415 // Processing configuration values
416 //
417 static int hailWait;
418 static int readWait;
419 static int Port;
420 static int Window;
421 static int tlsPort;
422 static char *Notify;
423 static const char *myCName;
424 static int myCNlen;
425 static char isRedir;
426 static char JobLCL;
427 static char JobCKCGI;
429 static char *JobCKT;
432 static uint64_t fsFeatures;
433 
434 // Static redirection
435 //
436 static struct RD_Table {char *Host[2];
437  unsigned short Port[2];
438  short RDSz[2];} Route[RD_Num];
439 
440 static struct RC_Table {char *Domain[4];
441  short DomCnt;
442  bool pvtIP;
444 
445 static int OD_Stall;
446 static bool OD_Bypass;
447 static bool OD_Redir;
448 
449 static bool CL_Redir;
450 
451 static bool isProxy;
452 
453 // Extended attributes
454 //
455 static int usxMaxNsz;
456 static int usxMaxVsz;
457 static char *usxParms;
458 
459 // TLS configuration
460 //
461 static const char Req_TLSData = 0x01;
462 static const char Req_TLSGPFile= 0x02;
463 static const char Req_TLSLogin = 0x04;
464 static const char Req_TLSSess = 0x08;
465 static const char Req_TLSTPC = 0x10;
466 
467 static char tlsCap; // TLS requirements for capable clients
468 static char tlsNot; // TLS requirements for incapable clients
469 
470 // Buffer configuration
471 //
472 static int maxBuffsz; // Maximum buffer size we can have
473 static int maxTransz; // Maximum transfer size we can have
474 static int maxReadv_ior; // Maximum readv element length
475 
476 // Statistical area
477 //
479 int numReads; // Count for kXR_read
480 int numReadP; // Count for kXR_read pre-preads
481 int numReadV; // Count for kkR_readv
482 int numSegsV; // Count for kkR_readv segmens
483 int numWritV; // Count for kkR_write
484 int numSegsW; // Count for kkR_writev segmens
485 int numWrites; // Count
486 int numFiles; // Count
487 
488 int cumReads; // Count less numReads
489 int cumReadP; // Count less numReadP
490 int cumReadV; // Count less numReadV
491 int cumSegsV; // Count less numSegsV
492 int cumWritV; // Count less numWritV
493 int cumSegsW; // Count less numSegsW
494 int cumWrites; // Count less numWrites
495 int myStalls; // Number of stalls
496 long long totReadP; // Bytes
497 
498 // Data local to each protocol/link combination
499 //
505 int clientPV; // Protocol version + capabilities
506 int clientRN; // Release as maj.min.patch (1 byte each).
507 bool pmDone; // Packet marking has been enabled
508 char reserved[3];
509 short rdType;
510 char Status;
511 unsigned char CapVer;
512 
513 // Authentication area
514 //
519 char *AppName;
520 
521 // Request signing area
522 //
523 ClientRequest sigReq2Ver; // Request to verify
524 SecurityRequest sigReq; // Signature request
525 char sigBuff[64]; // Signature payload SHA256 + blowfish
526 bool sigNeed; // Signature target present
527 bool sigHere; // Signature request present
528 bool sigRead; // Signature being read
529 bool sigWarn; // Once for unneeded signature
530 
531 // Async I/O area, these need to be atomic
532 //
533 RAtomic_int linkAioReq; // Aio requests inflight for link
534 static RAtomic_int srvrAioOps; // Aio operations inflight for server
535 
536 // Buffer information, used to drive getData(), and (*Resume)()
537 //
539 char *myBuff;
540 int myBlen;
542 
544 {
545 int iovNum;
546 int iovNow;
547 union {int iovAdj;
548  int BuffLen;
549  int DumpLen;
550  };
551 bool useCB;
552 char Status;
553 unsigned char stalls;
555 union {struct iovec *iovVec;
556  char *Buffer;
557  };
558 const char *ioDType;
560 
561 static const int inNone = 0;
562 static const int inCallBk = 1;
563 static const int inData = 2;
564 static const int inDataIov = 3;
565 static const int inDump = 4;
566 
567 static const int Active = 1; // linkWait: thread is waiting for link
568 static const int Terminate = 3; // linkWait: thread should immediately exit
569 
571 
573 int (XrdXrootdProtocol::*ResumePio)(); //Used by Offload
576 
577 // Buffer resize control area
578 //
579 static int hcMax;
580  int hcPrev;
581  int hcNext;
582  int hcNow;
584 
585 // This area is used for parallel streams
586 //
587 XrdSysMutex unbindMutex; // If locked always before streamMutex
592 unsigned int mySID;
593 bool isActive;
594 bool isLinkWT;
595 bool isNOP;
596 bool isDead;
597 
598 static const int maxPio = 4;
602 
603 short PathID; // Path for this protocol object
604 bool newPio; // True when initially scheduled
605 unsigned char rvSeq;
606 unsigned char wvSeq;
607 
608 char doTLS; // TLS requirements for client
609 bool ableTLS; // T->Client is able to use TLS
610 bool isTLS; // T->Client using TLS on control stream
611 
612 // Track usage limts.
613 //
614 static bool PrepareAlt; // Use alternate prepare handling
615 static bool LimitError; // Indicates that hitting a limit should result in an error response.
616  // If false, when possible, silently ignore errors.
618 static int PrepareLimit;
619 
620 // Buffers to handle client requests
621 //
625 };
626 #endif
XErrorCode
Definition: XProtocol.hh:989
@ kXR_noErrorYet
Definition: XProtocol.hh:1027
unsigned char kXR_char
Definition: XPtypes.hh:65
int stat(const char *path, struct stat *buf)
XrdOucString Path
#define eMsg(x)
int emsg(int rc, char *msg)
class XrdBuffer * XrdSfsXioHandle
Definition: XrdSfsXio.hh:46
static XrdXrootdStats * SI
static const char * myInst
int SendFile(int fildes) override
XrdXrootdProtocol * VerifyStream(int &rc, int pID, bool lok=true)
static XrdSfsFileSystem * digFS
int SetSF(kXR_char *fhandle, bool seton=false)
XrdSecProtect * Protect
int getData(gdCallBack *gdcbP, const char *dtype, struct iovec *iov, int iovn)
XrdNetPMark::Handle * pmHandle
static XrdNetPMark * PMark
XrdXrootdProtocol * Stream[maxStreams]
XrdXrootd::IOParms IO
static short as_okstutter
static XrdXrootdXPath RPList
static XrdNetSocket * AdminSock
XrdSecEntity * Client
static const char Req_TLSGPFile
XrdProtocol * Match(XrdLink *lp) override
struct XrdXrootdProtocol::GetDataCtl gdCtl
ClientRequest sigReq2Ver
void aioUpdate(int val)
void SetFD(int fildes) override
static const char Req_TLSSess
XrdXrootdWVInfo * wvInfo
XrdXrootdPgwCtl * pgwCtl
static void Reclaim(XrdSfsXioHandle h)
XrdSysSemaphore * reTry
XrdXrootdFileTable * FTab
static XrdXrootdJob * JobCKS
static XrdSysError & eDest
void aioUpdReq(int val)
static unsigned int getSID()
XrdSecProtocol * AuthProt
int getData(gdCallBack *gdcbP, const char *dtype, char *buff, int blen)
XrdSfsXioHandle Claim(const char *buff, int datasz, int minasz=0) override
static char * usxParms
XrdXrootdMonitor::User Monitor
static const char * myCName
XrdXrootdPio * pioFree
static const char Req_TLSData
XrdSfsXioHandle Swap(const char *buff, XrdSfsXioHandle h=0) override
static XrdXrootdFileLock * Locker
static const int maxPio
SecurityRequest sigReq
int(XrdXrootdProtocol::* Resume)()
static const char Req_TLSTPC
static XrdTlsContext * tlsCtx
XrdXrootdPio * pioLast
static XrdXrootdXPath XPList
static XrdScheduler * Sched
static struct XrdXrootdProtocol::RC_Table RouteClient
int Process(XrdLink *lp) override
void Recycle(XrdLink *lp, int consec, const char *reason) override
static char * Buffer(XrdSfsXioHandle h, int *bsz)
static const char * myUName
static const char Req_TLSLogin
XrdXrootdResponse Response
int(XrdXrootdProtocol::* ResumePio)()
static const char * TraceID
void DoIt() override
static int Configure(char *parms, XrdProtocol_Config *pi)
int Stats(char *buff, int blen, int do_sync=0) override
static const int maxStreams
int getDump(const char *dtype, int dlen)
static XrdOucTList * JobCKTLST
static XrdXrootdXPath RQList
static XrdSecProtector * DHS
static XrdBuffManager * BPool
static XrdSecService * CIA
static RAtomic_int srvrAioOps
static const char * myGName
static uint64_t fsFeatures
XrdXrootdReqID ReqID
static XrdOucReqID * PrepID
XrdXrootdPio * pioFirst
XrdSysCondVar2 * endNote
static struct XrdXrootdProtocol::RD_Table Route[RD_Num]
static XrdSfsFileSystem * osFS
XrdXrootdProtocol operator=(const XrdXrootdProtocol &rhs)=delete
virtual int gdDone()=0
XrdCmsConfig Config
XrdXrootd::gdCallBack * CallBack
static const int useSF
static const int useBasic
XrdXrootdFile * File
static const int useMMap