XRootD
XrdSfsFlags.hh File Reference
#include <cstdint>
#include <sys/stat.h>
#include <fcntl.h>
+ Include dependency graph for XrdSfsFlags.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 XrdSfs
 

Macros

#define XRDSFS_POSCPEND   S_ISVTX
 

Variables

static const uint64_t XrdSfs::hasAUTZ = 0x0000000000000001LL
 Feature: Authorization. More...
 
static const uint64_t XrdSfs::hasCACH = 0x0000000000000400LL
 Feature: Implements a data cache. More...
 
static const uint64_t XrdSfs::hasCHKP = 0x0000000000000002LL
 Feature: Checkpointing. More...
 
static const uint64_t XrdSfs::hasGPF = 0x0000000000000004LL
 Feature: gpFile. More...
 
static const uint64_t XrdSfs::hasGPFA = 0x0000000000000008LL
 Feature: gpFile anonymous. More...
 
static const uint64_t XrdSfs::hasNAIO = 0x0000000000000800LL
 Feature: Supports no async I/O. More...
 
static const uint64_t XrdSfs::hasNOSF = 0x0000000000000200LL
 Feature: Supports no sendfile. More...
 
static const uint64_t XrdSfs::hasPGRW = 0x0000000000000010LL
 Feature: pgRead and pgWrite. More...
 
static const uint64_t XrdSfs::hasPOSC = 0x0000000000000020LL
 Feature: Persist On Successful Close. More...
 
static const uint64_t XrdSfs::hasPRP2 = 0x0000000000000040LL
 Feature: Prepare Handler Version 2 (different calling conventions) More...
 
static const uint64_t XrdSfs::hasPRXY = 0x0000000000000080LL
 Feature: Proxy Server. More...
 
static const uint64_t XrdSfs::hasSXIO = 0x0000000000000100LL
 Feature: Supports SfsXio. More...
 
static const dev_t XRDSFS_HASBKUP
 
static const dev_t XRDSFS_OFFLINE
 
static const dev_t XRDSFS_RDVMASK
 

Macro Definition Documentation

◆ XRDSFS_POSCPEND

#define XRDSFS_POSCPEND   S_ISVTX

The following flags define the mode bit that can be used to mark a file as close pending. This varies depending on the platform. This supports the Persist On Successful Close (POSC) feature in an efficient way.

Definition at line 89 of file XrdSfsFlags.hh.

Variable Documentation

◆ XRDSFS_HASBKUP

const dev_t XRDSFS_HASBKUP
static
Initial value:
=
static_cast<dev_t>(0x40LL<<((sizeof(dev_t)*8)-8))

Definition at line 102 of file XrdSfsFlags.hh.

Referenced by XrdPosixMap::Flags2Mode().

◆ XRDSFS_OFFLINE

const dev_t XRDSFS_OFFLINE
static
Initial value:
=
static_cast<dev_t>(0x80LL<<((sizeof(dev_t)*8)-8))

The following bits may be set in the st_rdev member of the stat() structure to indicate special attributes of a regular file. These bits are inspected only when the remaining bits identified by XRD_RDVMASK are set to zero. For backward compatibility, offline status is also assumed when st_dev and st_ino are both set to zero.

Definition at line 100 of file XrdSfsFlags.hh.

Referenced by XrdPosixMap::Flags2Mode().

◆ XRDSFS_RDVMASK

const dev_t XRDSFS_RDVMASK
static
Initial value:
=
static_cast<dev_t>(~(0xffLL<<((sizeof(dev_t)*8)-8)))

Definition at line 104 of file XrdSfsFlags.hh.