xrootd
XrdOss.hh
Go to the documentation of this file.
1 #ifndef _XRDOSS_H
2 #define _XRDOSS_H
3 /******************************************************************************/
4 /* */
5 /* X r d O s s . h h */
6 /* */
7 /* (c) 2003 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC02-76-SFO0515 with the Department of Energy */
11 /* */
12 /* This file is part of the XRootD software suite. */
13 /* */
14 /* XRootD is free software: you can redistribute it and/or modify it under */
15 /* the terms of the GNU Lesser General Public License as published by the */
16 /* Free Software Foundation, either version 3 of the License, or (at your */
17 /* option) any later version. */
18 /* */
19 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */
20 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
21 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
22 /* License for more details. */
23 /* */
24 /* You should have received a copy of the GNU Lesser General Public License */
25 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
26 /* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
27 /* */
28 /* The copyright holder's institutional names and contributor's names may not */
29 /* be used to endorse or promote products derived from this software without */
30 /* specific prior written permission of the institution or contributor. */
31 /******************************************************************************/
32 
33 #include <dirent.h>
34 #include <errno.h>
35 #include <stdint.h>
36 #include <strings.h>
37 #include <sys/stat.h>
38 #include <sys/time.h>
39 #include <sys/types.h>
40 #include <string.h>
41 
42 #include "XrdOss/XrdOssVS.hh"
43 #include "XrdOuc/XrdOucIOVec.hh"
44 
45 class XrdOucEnv;
46 class XrdSysLogger;
47 class XrdSfsAio;
48 
49 #ifndef XrdOssOK
50 #define XrdOssOK 0
51 #endif
52 
53 /******************************************************************************/
54 /* C l a s s X r d O s s D F */
55 /******************************************************************************/
56 
61 
62 class XrdOssDF
63 {
64 public:
65 
66 /******************************************************************************/
67 /* D i r e c t o r y O r i e n t e d M e t h o d s */
68 /******************************************************************************/
69 
70 //-----------------------------------------------------------------------------
77 //-----------------------------------------------------------------------------
78 
79 virtual int Opendir(const char *path, XrdOucEnv &env) {return -ENOTDIR;}
80 
81 //-----------------------------------------------------------------------------
90 //-----------------------------------------------------------------------------
91 
92 virtual int Readdir(char *buff, int blen) {return -ENOTDIR;}
93 
94 //-----------------------------------------------------------------------------
105 //-----------------------------------------------------------------------------
106 
107 virtual int StatRet(struct stat *) {return -ENOTSUP;}
108 
109 /******************************************************************************/
110 /* F i l e O r i e n t e d M e t h o d s */
111 /******************************************************************************/
112 //-----------------------------------------------------------------------------
118 //-----------------------------------------------------------------------------
119 
120 virtual int Fchmod(mode_t mode) {return -EISDIR;}
121 
122 //-----------------------------------------------------------------------------
124 //-----------------------------------------------------------------------------
125 
126 virtual void Flush() {}
127 
128 //-----------------------------------------------------------------------------
134 //-----------------------------------------------------------------------------
135 
136 virtual int Fstat(struct stat *buf) {return -EISDIR;}
137 
138 //-----------------------------------------------------------------------------
142 //-----------------------------------------------------------------------------
143 
144 virtual int Fsync() {return -EISDIR;}
145 
146 //-----------------------------------------------------------------------------
152 //-----------------------------------------------------------------------------
153 
154 virtual int Fsync(XrdSfsAio *aiop) {return -EISDIR;}
155 
156 //-----------------------------------------------------------------------------
162 //-----------------------------------------------------------------------------
163 
164 virtual int Ftruncate(unsigned long long) {return -EISDIR;}
165 
166 //-----------------------------------------------------------------------------
174 //-----------------------------------------------------------------------------
175 
176 virtual off_t getMmap(void **addr) {*addr = 0; return 0;}
177 
178 //-----------------------------------------------------------------------------
185 //-----------------------------------------------------------------------------
186 
187 virtual int isCompressed(char *cxidp=0) {(void)cxidp; return 0;}
188 
189 //-----------------------------------------------------------------------------
198 //-----------------------------------------------------------------------------
199 
200 virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
201  {return -EISDIR;}
202 
203 //-----------------------------------------------------------------------------
218 //-----------------------------------------------------------------------------
219 
220 // pgRead and pgWrite options as noted.
221 //
222 static const uint64_t
223 Verify = 0x8000000000000000ULL;
224 static const uint64_t
225 doCalc = 0x4000000000000000ULL;
226 
227 virtual ssize_t pgRead (void* buffer, off_t offset, size_t rdlen,
228  uint32_t* csvec, uint64_t opts);
229 
230 //-----------------------------------------------------------------------------
238 //-----------------------------------------------------------------------------
239 
240 virtual int pgRead (XrdSfsAio* aioparm, uint64_t opts);
241 
242 //-----------------------------------------------------------------------------
259 //-----------------------------------------------------------------------------
260 
261 virtual ssize_t pgWrite(void* buffer, off_t offset, size_t wrlen,
262  uint32_t* csvec, uint64_t opts);
263 
264 //-----------------------------------------------------------------------------
272 //-----------------------------------------------------------------------------
273 
274 virtual int pgWrite(XrdSfsAio* aoiparm, uint64_t opts);
275 
276 //-----------------------------------------------------------------------------
283 //-----------------------------------------------------------------------------
284 
285 virtual ssize_t Read(off_t offset, size_t size) {return (ssize_t)-EISDIR;}
286 
287 //-----------------------------------------------------------------------------
296 //-----------------------------------------------------------------------------
297 
298 virtual ssize_t Read(void *buffer, off_t offset, size_t size)
299  {return (ssize_t)-EISDIR;}
300 
301 //-----------------------------------------------------------------------------
308 //-----------------------------------------------------------------------------
309 
310 virtual int Read(XrdSfsAio *aoip) {(void)aoip; return (ssize_t)-EISDIR;}
311 
312 //-----------------------------------------------------------------------------
321 //-----------------------------------------------------------------------------
322 
323 virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
324  {return (ssize_t)-EISDIR;}
325 
326 //-----------------------------------------------------------------------------
334 //-----------------------------------------------------------------------------
335 
336 virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt);
337 
338 //-----------------------------------------------------------------------------
347 //-----------------------------------------------------------------------------
348 
349 virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
350  {return (ssize_t)-EISDIR;}
351 
352 //-----------------------------------------------------------------------------
359 //-----------------------------------------------------------------------------
360 
361 virtual int Write(XrdSfsAio *aiop) {(void)aiop; return (ssize_t)-EISDIR;}
362 
363 //-----------------------------------------------------------------------------
371 //-----------------------------------------------------------------------------
372 
373 virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt);
374 
375 /******************************************************************************/
376 /* C o m m o n D i r e c t o r y a n d F i l e M e t h o d s */
377 /******************************************************************************/
378 //-----------------------------------------------------------------------------
384 //-----------------------------------------------------------------------------
385 
386 virtual int Close(long long *retsz=0)=0;
387 
388 //-----------------------------------------------------------------------------
392 //-----------------------------------------------------------------------------
393 
394 // Returned value will have one or more bits set as below.
395 //
396 static const uint16_t DF_isDir = 0x0001;
397 static const uint16_t DF_isFile = 0x0002;
398 static const uint16_t DF_isProxy = 0x0010;
399 
400 uint16_t DFType() {return dfType;}
401 
402 //-----------------------------------------------------------------------------
417 //-----------------------------------------------------------------------------
418 
419 static const int Fctl_ckpObj = 0;
420 static const int Fctl_utimes = 1;
421 
422 virtual int Fctl(int cmd, int alen, const char *args, char **resp=0);
423 
424 //-----------------------------------------------------------------------------
428 //-----------------------------------------------------------------------------
429 
430 virtual int getFD() {return -1;} // Must override to support sendfile()
431 
432 //-----------------------------------------------------------------------------
436 //-----------------------------------------------------------------------------
437 virtual
438 const char *getTID() {return tident;}
439 
440 //-----------------------------------------------------------------------------
446 //-----------------------------------------------------------------------------
447 
448  XrdOssDF(const char *tid="", uint16_t dftype=0, int fdnum=-1)
449  : tident(tid), pgwEOF(0), fd(fdnum), dfType(dftype),
450  rsvd(0) {}
451 
452 virtual ~XrdOssDF() {}
453 
454 
455 protected:
456 
457 const char *tident; // Trace identifier
458 off_t pgwEOF; // Highest short offset on pgWrite (0 means none yet)
459 int fd; // The associated file descriptor.
460 uint16_t dfType; // Type of this object
461 short rsvd; // Reserved
462 };
463 
464 /******************************************************************************/
465 /* X r d O s s O p t i o n s */
466 /******************************************************************************/
467 
468 // Options that can be passed to Create()
469 //
470 #define XRDOSS_mkpath 0x01
471 #define XRDOSS_new 0x02
472 #define XRDOSS_Online 0x04
473 #define XRDOSS_isPFN 0x10
474 #define XRDOSS_isMIG 0x20
475 #define XRDOSS_setnoxa 0x40
476 
477 // Values returned by Features()
478 //
479 #define XRDOSS_HASPGRW 0x0000000000000001ULL
480 #define XRDOSS_HASFSCS 0x0000000000000002ULL
481 #define XRDOSS_HASPRXY 0x0000000000000004ULL
482 #define XRDOSS_HASNOSF 0x0000000000000008ULL
483 
484 // Options that can be passed to Stat()
485 //
486 #define XRDOSS_resonly 0x0001
487 #define XRDOSS_updtatm 0x0002
488 #define XRDOSS_preop 0x0004
489 
490 // Commands that can be passed to FSctl
491 //
492 #define XRDOSS_FSCTLFA 0x0001
493 
494 /******************************************************************************/
495 /* C l a s s X r d O s s */
496 /******************************************************************************/
497 
498 class XrdOss
499 {
500 public:
501 
502 //-----------------------------------------------------------------------------
509 //-----------------------------------------------------------------------------
510 
511 virtual XrdOssDF *newDir(const char *tident)=0;
512 
513 //-----------------------------------------------------------------------------
520 //-----------------------------------------------------------------------------
521 
522 virtual XrdOssDF *newFile(const char *tident)=0;
523 
524 //-----------------------------------------------------------------------------
532 //-----------------------------------------------------------------------------
533 
534 virtual int Chmod(const char * path, mode_t mode, XrdOucEnv *envP=0)=0;
535 
536 //-----------------------------------------------------------------------------
540 //-----------------------------------------------------------------------------
541 
542 virtual void Connect(XrdOucEnv &env);
543 
544 //-----------------------------------------------------------------------------
557 //-----------------------------------------------------------------------------
558 
559 virtual int Create(const char *, const char *, mode_t, XrdOucEnv &,
560  int opts=0)=0;
561 
562 //-----------------------------------------------------------------------------
566 //-----------------------------------------------------------------------------
567 
568 virtual void Disc(XrdOucEnv &env);
569 
570 //-----------------------------------------------------------------------------
574 //-----------------------------------------------------------------------------
575 
576 virtual void EnvInfo(XrdOucEnv *envP);
577 
578 //-----------------------------------------------------------------------------
582 //-----------------------------------------------------------------------------
583 
584 virtual uint64_t Features();
585 
586 //-----------------------------------------------------------------------------
596 //-----------------------------------------------------------------------------
597 
598 virtual int FSctl(int cmd, int alen, const char *args, char **resp=0);
599 
600 //-----------------------------------------------------------------------------
607 //-----------------------------------------------------------------------------
608 
609 virtual int Init(XrdSysLogger *lp, const char *cfn)=0;
610 
611 //-----------------------------------------------------------------------------
619 //-----------------------------------------------------------------------------
620 
621 virtual int Init(XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
622  {return Init(lp, cfn);}
623 
624 //-----------------------------------------------------------------------------
633 //-----------------------------------------------------------------------------
634 
635 virtual int Mkdir(const char *path, mode_t mode, int mkpath=0,
636  XrdOucEnv *envP=0)=0;
637 
638 //-----------------------------------------------------------------------------
647 //-----------------------------------------------------------------------------
648 
649 virtual int Reloc(const char *tident, const char *path,
650  const char *cgName, const char *anchor=0);
651 
652 //-----------------------------------------------------------------------------
662 //-----------------------------------------------------------------------------
663 
664 virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)=0;
665 
666 //-----------------------------------------------------------------------------
675 //-----------------------------------------------------------------------------
676 
677 virtual int Rename(const char *oPath, const char *nPath,
678  XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)=0;
679 
680 //-----------------------------------------------------------------------------
692 //-----------------------------------------------------------------------------
693 
694 virtual int Stat(const char *path, struct stat *buff,
695  int opts=0, XrdOucEnv *envP=0)=0;
696 
697 //-----------------------------------------------------------------------------
704 //-----------------------------------------------------------------------------
705 
706 virtual int Stats(char *buff, int blen) {(void)buff; (void)blen; return 0;}
707 
708 //-----------------------------------------------------------------------------
726 //-----------------------------------------------------------------------------
727 
728 virtual int StatFS(const char *path, char *buff, int &blen,
729  XrdOucEnv *envP=0);
730 
731 //-----------------------------------------------------------------------------
749 //-----------------------------------------------------------------------------
750 
751 virtual int StatLS(XrdOucEnv &env, const char *path,
752  char *buff, int &blen);
753 
754 //-----------------------------------------------------------------------------
772 //-----------------------------------------------------------------------------
773 
774 static const int PF_dInfo = 0x00000001;
775 static const int PF_dNums = 0x00000002;
776 static const int PF_isLFN = 0x00000004;
777 static const int PF_dStat = 0x00000008;
778 
779 // Bits returned in st_rdev when PF_dStat specified in opts. Absence of either
780 // PF_csVer and PF_csVun flags means that the file has no checksums present.
781 //
782 static const int PF_csVer = 0x00000001;
783 static const int PF_csVun = 0x00000002;
784 
785 virtual int StatPF(const char *path, struct stat *buff, int opts);
786 
787 virtual int StatPF(const char *path, struct stat *buff)
788  {return StatPF(path, buff, 0);} // Backward compat
789 
790 //-----------------------------------------------------------------------------
802 //-----------------------------------------------------------------------------
803 
804 virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0);
805 
806 //-----------------------------------------------------------------------------
819 //-----------------------------------------------------------------------------
820 
821 virtual int StatXA(const char *path, char *buff, int &blen,
822  XrdOucEnv *envP=0);
823 
824 //-----------------------------------------------------------------------------
832 //-----------------------------------------------------------------------------
833 
834 virtual int StatXP(const char *path, unsigned long long &attr,
835  XrdOucEnv *envP=0);
836 
837 //-----------------------------------------------------------------------------
845 //-----------------------------------------------------------------------------
846 
847 virtual int Truncate(const char *path, unsigned long long fsize,
848  XrdOucEnv *envP=0)=0;
849 
850 //-----------------------------------------------------------------------------
861 //-----------------------------------------------------------------------------
862 
863 virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)=0;
864 
865  // Default Name-to-Name Methods
866 
867 //-----------------------------------------------------------------------------
875 //-----------------------------------------------------------------------------
876 
877 virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
878  {if ((int)strlen(Path) >= blen) return -ENAMETOOLONG;
879  strcpy(buff, Path); return 0;
880  }
881 
882 //-----------------------------------------------------------------------------
892 //-----------------------------------------------------------------------------
893 virtual
894 const char *Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
895  { (void)buff; (void)blen; rc = 0; return Path;}
896 
897 //-----------------------------------------------------------------------------
899 //-----------------------------------------------------------------------------
900 
901  XrdOss() {}
902 virtual ~XrdOss() {}
903 };
904 
905 /******************************************************************************/
906 /* S t o r a g e S y s t e m I n s t a n t i a t o r */
907 /******************************************************************************/
908 
909 //------------------------------------------------------------------------------
932 //------------------------------------------------------------------------------
933 
934 //------------------------------------------------------------------------------
936 //------------------------------------------------------------------------------
937 
938 typedef XrdOss *(*XrdOssGetStorageSystem_t) (XrdOss *native_oss,
939  XrdSysLogger *Logger,
940  const char *config_fn,
941  const char *parms);
942 
943 typedef XrdOss *(*XrdOssGetStorageSystem2_t)(XrdOss *native_oss,
944  XrdSysLogger *Logger,
945  const char *config_fn,
946  const char *parms,
947  XrdOucEnv *envP);
948 
950 
982 //------------------------------------------------------------------------------
988 //------------------------------------------------------------------------------
989 
995 #endif
virtual void Connect(XrdOucEnv &env)
const char * tident
Definition: XrdOss.hh:457
virtual ssize_t pgWrite(void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts)
virtual int Fctl(int cmd, int alen, const char *args, char **resp=0)
virtual int Readdir(char *buff, int blen)
Definition: XrdOss.hh:92
virtual XrdOssDF * newFile(const char *tident)=0
static const uint16_t DF_isDir
Object is for a directory.
Definition: XrdOss.hh:396
virtual int Init(XrdSysLogger *lp, const char *cfn)=0
virtual int Fsync(XrdSfsAio *aiop)
Definition: XrdOss.hh:154
static const int PF_dNums
Definition: XrdOss.hh:775
virtual int Opendir(const char *path, XrdOucEnv &env)
Definition: XrdOss.hh:79
virtual void Disc(XrdOucEnv &env)
static const int Fctl_utimes
Definition: XrdOss.hh:420
static const uint16_t DF_isFile
Object is for a file.
Definition: XrdOss.hh:397
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)=0
virtual int StatPF(const char *path, struct stat *buff, int opts)
virtual int Create(const char *, const char *, mode_t, XrdOucEnv &, int opts=0)=0
static const uint64_t Verify
all: Verify checksums
Definition: XrdOss.hh:223
virtual XrdOssDF * newDir(const char *tident)=0
virtual int isCompressed(char *cxidp=0)
Definition: XrdOss.hh:187
virtual ssize_t pgRead(void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts)
Definition: XrdOssVS.hh:87
virtual int Fchmod(mode_t mode)
Definition: XrdOss.hh:120
static const int PF_csVun
unverified file checksums present
Definition: XrdOss.hh:783
virtual int Remdir(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
int fd
Definition: XrdOss.hh:459
virtual int StatFS(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
virtual ~XrdOssDF()
Definition: XrdOss.hh:452
virtual int StatVS(XrdOssVSInfo *vsP, const char *sname=0, int updt=0)
static const int PF_isLFN
Definition: XrdOss.hh:776
virtual int Unlink(const char *path, int Opts=0, XrdOucEnv *envP=0)=0
static const uint16_t DF_isProxy
Object is a proxy object.
Definition: XrdOss.hh:398
Definition: XrdOucEnv.hh:41
Definition: XrdOucIOVec.hh:40
virtual int StatXP(const char *path, unsigned long long &attr, XrdOucEnv *envP=0)
virtual const char * Lfn2Pfn(const char *Path, char *buff, int blen, int &rc)
Definition: XrdOss.hh:894
virtual const char * getTID()
Definition: XrdOss.hh:438
XrdOssGetStorageSystem2_t XrdOssAddStorageSystem2_t
Definition: XrdOss.hh:949
static const int Fctl_ckpObj
Definition: XrdOss.hh:419
virtual int Init(XrdSysLogger *lp, const char *cfn, XrdOucEnv *envP)
Definition: XrdOss.hh:621
virtual int Fsync()
Definition: XrdOss.hh:144
static const int PF_dStat
Definition: XrdOss.hh:777
virtual int Close(long long *retsz=0)=0
virtual ssize_t ReadV(XrdOucIOVec *readV, int rdvcnt)
uint16_t DFType()
Definition: XrdOss.hh:400
virtual int FSctl(int cmd, int alen, const char *args, char **resp=0)
Definition: XrdSysLogger.hh:52
virtual ssize_t Read(off_t offset, size_t size)
Definition: XrdOss.hh:285
virtual void Flush()
Flush filesystem cached pages for this file (used for checksums).
Definition: XrdOss.hh:126
#define stat(a, b)
Definition: XrdPosix.hh:96
static const uint64_t doCalc
pgw: Calculate checksums
Definition: XrdOss.hh:225
virtual int Chmod(const char *path, mode_t mode, XrdOucEnv *envP=0)=0
Definition: XrdOss.hh:498
virtual void EnvInfo(XrdOucEnv *envP)
virtual int StatXA(const char *path, char *buff, int &blen, XrdOucEnv *envP=0)
Definition: XrdOss.hh:62
XrdOss *(* XrdOssGetStorageSystem2_t)(XrdOss *native_oss, XrdSysLogger *Logger, const char *config_fn, const char *parms, XrdOucEnv *envP)
Definition: XrdOss.hh:943
virtual int Truncate(const char *path, unsigned long long fsize, XrdOucEnv *envP=0)=0
virtual int StatPF(const char *path, struct stat *buff)
Definition: XrdOss.hh:787
virtual int Lfn2Pfn(const char *Path, char *buff, int blen)
Definition: XrdOss.hh:877
virtual ~XrdOss()
Definition: XrdOss.hh:902
static const int PF_dInfo
Definition: XrdOss.hh:774
virtual int Stats(char *buff, int blen)
Definition: XrdOss.hh:706
virtual int Reloc(const char *tident, const char *path, const char *cgName, const char *anchor=0)
Definition: XrdSfsAio.hh:58
XrdOss()
Constructor and Destructor.
Definition: XrdOss.hh:901
virtual int Rename(const char *oPath, const char *nPath, XrdOucEnv *oEnvP=0, XrdOucEnv *nEnvP=0)=0
virtual int Open(const char *path, int Oflag, mode_t Mode, XrdOucEnv &env)
Definition: XrdOss.hh:200
virtual int StatRet(struct stat *)
Definition: XrdOss.hh:107
virtual int StatLS(XrdOucEnv &env, const char *path, char *buff, int &blen)
virtual off_t getMmap(void **addr)
Definition: XrdOss.hh:176
virtual ssize_t Write(const void *buffer, off_t offset, size_t size)
Definition: XrdOss.hh:349
XrdOssDF(const char *tid="", uint16_t dftype=0, int fdnum=-1)
Definition: XrdOss.hh:448
virtual int Mkdir(const char *path, mode_t mode, int mkpath=0, XrdOucEnv *envP=0)=0
virtual int getFD()
Definition: XrdOss.hh:430
virtual ssize_t Read(void *buffer, off_t offset, size_t size)
Definition: XrdOss.hh:298
virtual uint64_t Features()
uint16_t dfType
Definition: XrdOss.hh:460
virtual int Write(XrdSfsAio *aiop)
Definition: XrdOss.hh:361
virtual ssize_t ReadRaw(void *buffer, off_t offset, size_t size)
Definition: XrdOss.hh:323
virtual int Read(XrdSfsAio *aoip)
Definition: XrdOss.hh:310
virtual int Fstat(struct stat *buf)
Definition: XrdOss.hh:136
short rsvd
Definition: XrdOss.hh:461
static const int PF_csVer
verified file checksums present
Definition: XrdOss.hh:782
off_t pgwEOF
Definition: XrdOss.hh:458
virtual ssize_t WriteV(XrdOucIOVec *writeV, int wrvcnt)
virtual int Ftruncate(unsigned long long)
Definition: XrdOss.hh:164