ceph: use strong hash function for mapping objects to pgs
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / ceph / types.h
CommitLineData
de57606c
SW
1#ifndef _FS_CEPH_TYPES_H
2#define _FS_CEPH_TYPES_H
3
4/* needed before including ceph_fs.h */
5#include <linux/in.h>
6#include <linux/types.h>
7#include <linux/fcntl.h>
8#include <linux/string.h>
9
10#include "ceph_fs.h"
11#include "ceph_frag.h"
12
13/*
14 * Identify inodes by both their ino AND snapshot id (a u64).
15 */
16struct ceph_vino {
17 u64 ino;
18 u64 snap;
19};
20
21
22/* context for the caps reservation mechanism */
23struct ceph_cap_reservation {
24 int count;
25};
26
27
28#endif