XrdSfsFlags.hh File Reference

#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for XrdSfsFlags.hh:

Go to the source code of this file.

Defines

#define XRDSFS_POSCPEND   S_ISVTX

Variables

static const dev_t XRDSFS_OFFLINE
static const dev_t XRDSFS_HASBKUP
static const dev_t XRDSFS_RDVMASK

Define Documentation

#define XRDSFS_POSCPEND   S_ISVTX

This include file defines certain falgs that can be used by various Sfs plug-ins to passthrough special attributes of regular files. 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

const dev_t XRDSFS_HASBKUP [static]
Initial value:
                   static_cast<dev_t>(0x40LL<<((sizeof(dev_t)*8)-8))
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 compatability, offline status is also assumed when st_dev and st_ino are both set to zero.

const dev_t XRDSFS_RDVMASK [static]
Initial value:
                   static_cast<dev_t>(~(0xffLL<<((sizeof(dev_t)*8)-8)))
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 2 Aug 2019 for xrootd by  doxygen 1.6.1