Public Member Functions | |
| XrdOfsHanOssErr (XrdOssDF *ossp, int rrc=-EBADF, int wrc=-EBADF) | |
| ~XrdOfsHanOssErr () | |
| int | Close (long long *retsz=0) |
| int | Fstat (struct stat *Stat) |
| ssize_t | pgRead (void *buffer, off_t offset, size_t rdlen, uint32_t *csvec, uint64_t opts) |
| int | pgRead (XrdSfsAio *aioparm, uint64_t opts) |
| ssize_t | Read (off_t offset, size_t rlen) |
| ssize_t | Read (void *buff, off_t offset, size_t rlen) |
| int | Read (XrdSfsAio *aiop) |
| int | Readdir (char *buff, int blen) |
| ssize_t | ReadRaw (void *buff, off_t offset, size_t rlen) |
| ssize_t | ReadV (XrdOucIOVec *readV, int rdvcnt) |
| Public Member Functions inherited from XrdOfsHanOss | |
| XrdOfsHanOss (int rrc=-EBADF, int wrc=-EBADF) | |
| ~XrdOfsHanOss () | |
| int | Fchmod (mode_t mode) |
| int | Fsync () |
| int | Fsync (XrdSfsAio *aiop) |
| int | Ftruncate (unsigned long long) |
| off_t | getMmap (void **addr) |
| int | isCompressed (char *cxidp=0) |
| int | Open (const char *, int, mode_t, XrdOucEnv &) |
| int | Opendir (const char *, XrdOucEnv &) |
| ssize_t | pgWrite (void *buffer, off_t offset, size_t wrlen, uint32_t *csvec, uint64_t opts) |
| int | pgWrite (XrdSfsAio *aioparm, uint64_t opts) |
| ssize_t | Write (const void *, off_t, size_t) |
| int | Write (XrdSfsAio *aiop) |
| ssize_t | WriteV (XrdOucIOVec *writeV, int wrvcnt) |
| Public Member Functions inherited from XrdOssDF | |
| XrdOssDF (const char *tid="", uint16_t dftype=0, int fdnum=-1) | |
| virtual | ~XrdOssDF () |
| virtual int | Clone (const std::vector< XrdOucCloneSeg > &cVec) |
| virtual int | Clone (XrdOssDF &srcFile) |
| uint16_t | DFType () |
| virtual int | Fctl (int cmd, int alen, const char *args, char **resp=0) |
| virtual void | Flush () |
| Flush filesystem cached pages for this file (used for checksums). | |
| virtual bool | getErrMsg (std::string &eText) |
| virtual int | getFD () |
| virtual const char * | getTID () |
| virtual ssize_t | Read (XrdOucRangeList &rlist) |
| virtual int | StatRet (struct stat *buff) |
Protected Attributes | |
| XrdOssDF * | ossP |
| Protected Attributes inherited from XrdOfsHanOss | |
| int | rRC |
| int | wRC |
| Protected Attributes inherited from XrdOssDF | |
| uint16_t | dfType |
| int | fd |
| off_t | pgwEOF |
| short | rsvd |
| const char * | tident |
Additional Inherited Members | |
| Static Public Attributes inherited from XrdOssDF | |
| static const uint16_t | DF_isDir = 0x0001 |
| Object is for a directory. | |
| static const uint16_t | DF_isFile = 0x0002 |
| Object is for a file. | |
| static const uint16_t | DF_isProxy = 0x0010 |
| Object is a proxy object. | |
| static const uint64_t | doCalc = 0x4000000000000000ULL |
| pgw: Calculate checksums | |
| static const int | Fctl_ckpObj = 0 |
| static const int | Fctl_QFinfo = 3 |
| static const int | Fctl_setFD = 2 |
| static const int | Fctl_utimes = 1 |
| static const uint64_t | Verify = 0x8000000000000000ULL |
| all: Verify checksums | |
Definition at line 97 of file XrdOfsHandle.cc.
|
inline |
Definition at line 143 of file XrdOfsHandle.cc.
References XrdOfsHanOss::XrdOfsHanOss(), XrdOssDF::XrdOssDF(), XrdOssDF::DFType(), XrdOssDF::dfType, XrdOssDF::fd, XrdOssDF::getFD(), XrdOssDF::getTID(), ossP, and XrdOssDF::tident.
|
inline |
|
inlinevirtual |
Close a directory or file.
| retsz | If not nil, where the size of the file is to be returned. |
Reimplemented from XrdOfsHanOss.
Definition at line 141 of file XrdOfsHandle.cc.
References ossP.
|
inlinevirtual |
Return state information for this file.
| buf | - Pointer to the structure where info it to be returned. |
Reimplemented from XrdOfsHanOss.
Definition at line 103 of file XrdOfsHandle.cc.
|
inlinevirtual |
Reimplemented from XrdOfsHanOss.
Definition at line 105 of file XrdOfsHandle.cc.
References opts, ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Read file pages and checksums using asynchronous I/O.
| aioparm | - Pointer to async I/O object controlling the I/O. |
| opts | - Processing options (see above). |
Reimplemented from XrdOfsHanOss.
Definition at line 111 of file XrdOfsHandle.cc.
References opts, ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Preread file blocks into the file system cache.
| offset | - The offset where the read is to start. |
| size | - The number of bytes to pre-read. |
Reimplemented from XrdOfsHanOss.
Definition at line 116 of file XrdOfsHandle.cc.
References ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Read file bytes into a buffer.
| buffer | - pointer to buffer where the bytes are to be placed. |
| offset | - The offset where the read is to start. |
| size | - The number of bytes to read. |
Reimplemented from XrdOfsHanOss.
Definition at line 121 of file XrdOfsHandle.cc.
References ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Read file bytes using asynchronous I/O.
| aiop | - Pointer to async I/O object controlling the I/O. |
Reimplemented from XrdOfsHanOss.
Definition at line 126 of file XrdOfsHandle.cc.
References ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Get the next directory entry.
| buff | - Pointer to buffer where a null terminated string of the entry name is to be returned. If no more entries exist, a null string is returned. |
| blen | - Length of the buffer. |
Reimplemented from XrdOfsHanOss.
Definition at line 100 of file XrdOfsHandle.cc.
References ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Read uncompressed file bytes into a buffer.
| buffer | - pointer to buffer where the bytes are to be placed. |
| offset | - The offset where the read is to start. |
| size | - The number of bytes to read. |
Reimplemented from XrdOfsHanOss.
Definition at line 136 of file XrdOfsHandle.cc.
References ossP, and XrdOfsHanOss::rRC.
|
inlinevirtual |
Read file bytes as directed by the read vector.
| readV | pointer to the array of read requests. |
| rdvcnt | the number of elements in readV. |
Reimplemented from XrdOfsHanOss.
Definition at line 131 of file XrdOfsHandle.cc.
References ossP, and XrdOfsHanOss::rRC.
|
protected |
Definition at line 154 of file XrdOfsHandle.cc.
Referenced by XrdOfsHanOssErr(), ~XrdOfsHanOssErr(), Close(), Fstat(), pgRead(), pgRead(), Read(), Read(), Read(), Readdir(), ReadRaw(), and ReadV().