super.h (2ae409dc6a907e80f4cd32ad4482ef52441e3147) super.h (aa187926b739fb391f153335c7552c7a10d60e82)
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>

--- 32 unchanged lines hidden (view full) ---

41
42#define CEPH_MOUNT_OPT_DEFAULT CEPH_MOUNT_OPT_DCACHE
43
44#define ceph_set_mount_opt(fsc, opt) \
45 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
46#define ceph_test_mount_opt(fsc, opt) \
47 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
48
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>

--- 32 unchanged lines hidden (view full) ---

41
42#define CEPH_MOUNT_OPT_DEFAULT CEPH_MOUNT_OPT_DCACHE
43
44#define ceph_set_mount_opt(fsc, opt) \
45 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
46#define ceph_test_mount_opt(fsc, opt) \
47 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
48
49#define CEPH_RSIZE_DEFAULT (64*1024*1024) /* max read size */
49/* max size of osd read request, limited by libceph */
50#define CEPH_MAX_READ_SIZE CEPH_MSG_MAX_DATA_LEN
50#define CEPH_RASIZE_DEFAULT (8192*1024) /* max readahead */
51#define CEPH_MAX_READDIR_DEFAULT 1024
52#define CEPH_MAX_READDIR_BYTES_DEFAULT (512*1024)
53#define CEPH_SNAPDIRNAME_DEFAULT ".snap"
54
55struct ceph_mount_options {
56 int flags;
57 int sb_flags;

--- 949 unchanged lines hidden ---
51#define CEPH_RASIZE_DEFAULT (8192*1024) /* max readahead */
52#define CEPH_MAX_READDIR_DEFAULT 1024
53#define CEPH_MAX_READDIR_BYTES_DEFAULT (512*1024)
54#define CEPH_SNAPDIRNAME_DEFAULT ".snap"
55
56struct ceph_mount_options {
57 int flags;
58 int sb_flags;

--- 949 unchanged lines hidden ---