Linux Kernel
3.7.1
|
#include <linux/completion.h>
#include <linux/kref.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/rbtree.h>
#include <linux/spinlock.h>
#include <linux/ceph/types.h>
#include <linux/ceph/messenger.h>
#include <linux/ceph/mdsmap.h>
#include <linux/ceph/auth.h>
Go to the source code of this file.
Data Structures | |
struct | ceph_mds_reply_info_in |
struct | ceph_mds_reply_info_parsed |
struct | ceph_mds_session |
struct | ceph_mds_request |
struct | ceph_mds_client |
Macros | |
#define | CEPH_CAPS_PER_RELEASE |
Typedefs | |
typedef void(* | ceph_mds_request_callback_t )(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) |
Enumerations | |
enum | { CEPH_MDS_SESSION_NEW = 1, CEPH_MDS_SESSION_OPENING = 2, CEPH_MDS_SESSION_OPEN = 3, CEPH_MDS_SESSION_HUNG = 4, CEPH_MDS_SESSION_CLOSING = 5, CEPH_MDS_SESSION_RESTARTING = 6, CEPH_MDS_SESSION_RECONNECTING = 7 } |
enum | { USE_ANY_MDS, USE_RANDOM_MDS, USE_AUTH_MDS } |
#define CEPH_CAPS_PER_RELEASE |
Definition at line 89 of file mds_client.h.
typedef void(* ceph_mds_request_callback_t)(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) |
Definition at line 159 of file mds_client.h.
anonymous enum |
CEPH_MDS_SESSION_NEW | |
CEPH_MDS_SESSION_OPENING | |
CEPH_MDS_SESSION_OPEN | |
CEPH_MDS_SESSION_HUNG | |
CEPH_MDS_SESSION_CLOSING | |
CEPH_MDS_SESSION_RESTARTING | |
CEPH_MDS_SESSION_RECONNECTING |
Definition at line 97 of file mds_client.h.
anonymous enum |
Definition at line 147 of file mds_client.h.
|
read |
Definition at line 349 of file mds_client.c.
Definition at line 2702 of file mds_client.c.
int ceph_add_cap_releases | ( | struct ceph_mds_client * | mdsc, |
struct ceph_mds_session * | session | ||
) |
Definition at line 1215 of file mds_client.c.
void ceph_invalidate_dir_request | ( | struct ceph_mds_request * | req | ) |
Definition at line 1999 of file mds_client.c.
Definition at line 1448 of file mds_client.c.
void ceph_mdsc_close_sessions | ( | struct ceph_mds_client * | mdsc | ) |
Definition at line 3169 of file mds_client.c.
|
read |
Definition at line 1392 of file mds_client.c.
void ceph_mdsc_destroy | ( | struct ceph_fs_client * | fsc | ) |
Definition at line 3231 of file mds_client.c.
int ceph_mdsc_do_request | ( | struct ceph_mds_client * | mdsc, |
struct inode * | dir, | ||
struct ceph_mds_request * | req | ||
) |
Definition at line 1923 of file mds_client.c.
void ceph_mdsc_handle_map | ( | struct ceph_mds_client * | mdsc, |
struct ceph_msg * | msg | ||
) |
Definition at line 3250 of file mds_client.c.
int ceph_mdsc_init | ( | struct ceph_fs_client * | fsc | ) |
Definition at line 2986 of file mds_client.c.
void ceph_mdsc_lease_release | ( | struct ceph_mds_client * | mdsc, |
struct inode * | inode, | ||
struct dentry * | dn | ||
) |
Definition at line 2854 of file mds_client.c.
void ceph_mdsc_lease_send_msg | ( | struct ceph_mds_session * | session, |
struct inode * | inode, | ||
struct dentry * | dentry, | ||
char | action, | ||
u32 | seq | ||
) |
Definition at line 2814 of file mds_client.c.
void ceph_mdsc_open_export_target_sessions | ( | struct ceph_mds_client * | mdsc, |
struct ceph_mds_session * | session | ||
) |
Definition at line 845 of file mds_client.c.
void ceph_mdsc_pre_umount | ( | struct ceph_mds_client * | mdsc | ) |
Definition at line 3067 of file mds_client.c.
Definition at line 476 of file mds_client.c.
void ceph_mdsc_submit_request | ( | struct ceph_mds_client * | mdsc, |
struct ceph_mds_request * | req | ||
) |
Definition at line 1909 of file mds_client.c.
void ceph_mdsc_sync | ( | struct ceph_mds_client * | mdsc | ) |
Definition at line 3128 of file mds_client.c.
void ceph_put_mds_session | ( | struct ceph_mds_session * | s | ) |
Definition at line 333 of file mds_client.c.
void ceph_send_cap_releases | ( | struct ceph_mds_client * | mdsc, |
struct ceph_mds_session * | session | ||
) |
Definition at line 1326 of file mds_client.c.