]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/Locker.h
update sources to v12.1.1
[ceph.git] / ceph / src / mds / Locker.h
index eb3d45ce58158c33fe1b777516e3335551352eeb..8cff4ec3e57b3d69ab19a74e392cfae02e8dffc5 100644 (file)
@@ -80,6 +80,7 @@ public:
                     CInode *auth_pin_freeze=NULL,
                     bool auth_pin_nonblock=false);
 
+  void notify_freeze_waiter(MDSCacheObject *o);
   void cancel_locking(MutationImpl *mut, set<CInode*> *pneed_issue);
   void drop_locks(MutationImpl *mut, set<CInode*> *pneed_issue=0);
   void set_xlocks_done(MutationImpl *mut, bool skip_dentry=false);
@@ -250,6 +251,8 @@ protected:
 
   void file_update_finish(CInode *in, MutationRef& mut, bool share_max, bool issue_client_cap,
                          client_t client, MClientCaps *ack);
+private:
+  uint64_t calc_new_max_size(inode_t *pi, uint64_t size);
 public:
   void calc_new_client_ranges(CInode *in, uint64_t size,
                              map<client_t, client_writeable_range_t>* new_ranges,