xrootd
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
XrdSfsFlags.hh File Reference
#include <cstdint>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for XrdSfsFlags.hh:

Go to the source code of this file.

Namespaces

namespace  XrdSfs
 

Macros

#define XRDSFS_POSCPEND   S_ISVTX
 

Variables

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

Variable Documentation

◆ XRDSFS_HASBKUP

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

◆ 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.

◆ XRDSFS_RDVMASK

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