~ubuntu-branches/ubuntu/precise/ceph/precise-proposed

« back to all changes in this revision

Viewing changes to src/mds/Server.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2011-04-25 10:09:05 UTC
  • mfrom: (1.1.3 upstream) (0.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110425100905-exm7dfvi2v5ick02
Tags: 0.27-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "MDS.h"
19
19
 
20
 
class Logger;
 
20
class ProfLogger;
21
21
class LogEvent;
22
22
class MDRequest;
23
23
class Mutation;
41
41
  MDCache *mdcache;
42
42
  MDLog *mdlog;
43
43
  Messenger *messenger;
44
 
  Logger *logger;
 
44
  ProfLogger *logger;
45
45
 
46
46
public:
47
47
  int failed_reconnects;
82
82
  void terminate_sessions();
83
83
  void find_idle_sessions();
84
84
  void kill_session(Session *session);
 
85
  void journal_close_session(Session *session, int state);
85
86
  void reconnect_clients();
86
87
  void handle_client_reconnect(class MClientReconnect *m);
87
88
  //void process_reconnect_cap(CInode *in, int from, ceph_mds_cap_reconnect& capinfo);
123
124
  void apply_allocated_inos(MDRequest *mdr);
124
125
 
125
126
  CInode* rdlock_path_pin_ref(MDRequest *mdr, int n, set<SimpleLock*>& rdlocks, bool want_auth,
126
 
                              bool no_want_auth=false);
 
127
                              bool no_want_auth=false,
 
128
                              ceph_file_layout **layout=NULL);
127
129
  CDentry* rdlock_path_xlock_dentry(MDRequest *mdr, int n, set<SimpleLock*>& rdlocks, set<SimpleLock*>& wrlocks, 
128
130
                                    set<SimpleLock*>& xlocks, bool okexist, bool mustexist, bool alwaysxlock,
129
131
                                    ceph_file_layout **layout=NULL);
135
137
  void handle_client_stat(MDRequest *mdr);
136
138
  void handle_client_lookup_parent(MDRequest *mdr);
137
139
  void handle_client_lookup_hash(MDRequest *mdr);
 
140
  void _lookup_hash_2(MDRequest *mdr, int r);
 
141
  void _lookup_hash_3(MDRequest *mdr, int r);
 
142
  void handle_client_lookup_ino(MDRequest *mdr);
 
143
  void _lookup_ino(MDRequest *mdr);
 
144
  void _lookup_ino_2(MDRequest *mdr, int r);
 
145
  void _lookup_ino_3(MDRequest *mdr, int r);
138
146
  void handle_client_readdir(MDRequest *mdr);
139
147
  void handle_client_file_setlock(MDRequest *mdr);
140
148
  void handle_client_file_readlock(MDRequest *mdr);