Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
mds_client.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/fs.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include "super.h"
#include "mds_client.h"
#include <linux/ceph/ceph_features.h>
#include <linux/ceph/messenger.h>
#include <linux/ceph/decode.h>
#include <linux/ceph/pagelist.h>
#include <linux/ceph/auth.h>
#include <linux/ceph/debugfs.h>

Go to the source code of this file.

Data Structures

struct  ceph_reconnect_state
 

Functions

void ceph_put_mds_session (struct ceph_mds_session *s)
 
struct ceph_mds_session__ceph_lookup_mds_session (struct ceph_mds_client *mdsc, int mds)
 
void ceph_mdsc_release_request (struct kref *kref)
 
void ceph_mdsc_open_export_target_sessions (struct ceph_mds_client *mdsc, struct ceph_mds_session *session)
 
int ceph_add_cap_releases (struct ceph_mds_client *mdsc, struct ceph_mds_session *session)
 
void ceph_send_cap_releases (struct ceph_mds_client *mdsc, struct ceph_mds_session *session)
 
struct ceph_mds_requestceph_mdsc_create_request (struct ceph_mds_client *mdsc, int op, int mode)
 
charceph_mdsc_build_path (struct dentry *dentry, int *plen, u64 *base, int stop_on_nosnap)
 
void ceph_mdsc_submit_request (struct ceph_mds_client *mdsc, struct ceph_mds_request *req)
 
int ceph_mdsc_do_request (struct ceph_mds_client *mdsc, struct inode *dir, struct ceph_mds_request *req)
 
void ceph_invalidate_dir_request (struct ceph_mds_request *req)
 
void __ceph_mdsc_drop_dentry_lease (struct dentry *dentry)
 
void ceph_mdsc_lease_send_msg (struct ceph_mds_session *session, struct inode *inode, struct dentry *dentry, char action, u32 seq)
 
void ceph_mdsc_lease_release (struct ceph_mds_client *mdsc, struct inode *inode, struct dentry *dentry)
 
int ceph_mdsc_init (struct ceph_fs_client *fsc)
 
void ceph_mdsc_pre_umount (struct ceph_mds_client *mdsc)
 
void ceph_mdsc_sync (struct ceph_mds_client *mdsc)
 
void ceph_mdsc_close_sessions (struct ceph_mds_client *mdsc)
 
void ceph_mdsc_destroy (struct ceph_fs_client *fsc)
 
void ceph_mdsc_handle_map (struct ceph_mds_client *mdsc, struct ceph_msg *msg)
 

Function Documentation

struct ceph_mds_session* __ceph_lookup_mds_session ( struct ceph_mds_client mdsc,
int  mds 
)
read

Definition at line 349 of file mds_client.c.

void __ceph_mdsc_drop_dentry_lease ( struct dentry dentry)

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.

char* ceph_mdsc_build_path ( struct dentry dentry,
int plen,
u64 base,
int  stop_on_nosnap 
)

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.

struct ceph_mds_request* ceph_mdsc_create_request ( struct ceph_mds_client mdsc,
int  op,
int  mode 
)
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 dentry 
)

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.

void ceph_mdsc_release_request ( struct kref kref)

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.