super.h (2b1ac852eb67a6e95595e576371d23519105559f) | super.h (e9e427f0a14f7e4773896dd7af357819a56d097a) |
---|---|
1#ifndef _FS_CEPH_SUPER_H 2#define _FS_CEPH_SUPER_H 3 4#include <linux/ceph/ceph_debug.h> 5 6#include <asm/unaligned.h> 7#include <linux/backing-dev.h> 8#include <linux/completion.h> --- 22 unchanged lines hidden (view full) --- 31 32#define CEPH_MOUNT_OPT_DIRSTAT (1<<4) /* `cat dirname` for stats */ 33#define CEPH_MOUNT_OPT_RBYTES (1<<5) /* dir st_bytes = rbytes */ 34#define CEPH_MOUNT_OPT_NOASYNCREADDIR (1<<7) /* no dcache readdir */ 35#define CEPH_MOUNT_OPT_INO32 (1<<8) /* 32 bit inos */ 36#define CEPH_MOUNT_OPT_DCACHE (1<<9) /* use dcache for readdir etc */ 37#define CEPH_MOUNT_OPT_FSCACHE (1<<10) /* use fscache */ 38#define CEPH_MOUNT_OPT_NOPOOLPERM (1<<11) /* no pool permission check */ | 1#ifndef _FS_CEPH_SUPER_H 2#define _FS_CEPH_SUPER_H 3 4#include <linux/ceph/ceph_debug.h> 5 6#include <asm/unaligned.h> 7#include <linux/backing-dev.h> 8#include <linux/completion.h> --- 22 unchanged lines hidden (view full) --- 31 32#define CEPH_MOUNT_OPT_DIRSTAT (1<<4) /* `cat dirname` for stats */ 33#define CEPH_MOUNT_OPT_RBYTES (1<<5) /* dir st_bytes = rbytes */ 34#define CEPH_MOUNT_OPT_NOASYNCREADDIR (1<<7) /* no dcache readdir */ 35#define CEPH_MOUNT_OPT_INO32 (1<<8) /* 32 bit inos */ 36#define CEPH_MOUNT_OPT_DCACHE (1<<9) /* use dcache for readdir etc */ 37#define CEPH_MOUNT_OPT_FSCACHE (1<<10) /* use fscache */ 38#define CEPH_MOUNT_OPT_NOPOOLPERM (1<<11) /* no pool permission check */ |
39#define CEPH_MOUNT_OPT_MOUNTWAIT (1<<12) /* mount waits if no mds is up */ |
|
39 40#define CEPH_MOUNT_OPT_DEFAULT CEPH_MOUNT_OPT_DCACHE 41 42#define ceph_set_mount_opt(fsc, opt) \ 43 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; 44#define ceph_test_mount_opt(fsc, opt) \ 45 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 46 --- 941 unchanged lines hidden --- | 40 41#define CEPH_MOUNT_OPT_DEFAULT CEPH_MOUNT_OPT_DCACHE 42 43#define ceph_set_mount_opt(fsc, opt) \ 44 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; 45#define ceph_test_mount_opt(fsc, opt) \ 46 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 47 --- 941 unchanged lines hidden --- |