]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #31857 from smithfarm/wip-40947-luminous
authorYuri Weinstein <yweinste@redhat.com>
Thu, 12 Dec 2019 16:41:43 +0000 (08:41 -0800)
committerGitHub <noreply@github.com>
Thu, 12 Dec 2019 16:41:43 +0000 (08:41 -0800)
luminous:  osd: add hdd, ssd and hybrid variants for osd_snap_trim_sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
1  2 
src/common/options.cc
src/osd/OSD.cc
src/osd/OSD.h

Simple merge
diff --cc src/osd/OSD.cc
Simple merge
diff --cc src/osd/OSD.h
index 52a281bc368a3bc7a2ed47fa6d5922532de19aad,1b91b0da108f52a1af6d78aa42e0b031d515b84c..ddaab9279a9e29b377aef73ac165c00a7d103610
@@@ -2500,14 -2498,11 +2500,15 @@@ private
    int get_num_op_threads();
  
    float get_osd_recovery_sleep();
+   float get_osd_snap_trim_sleep();
  
  public:
 -  static int peek_meta(ObjectStore *store, string& magic,
 -                     uuid_d& cluster_fsid, uuid_d& osd_fsid, int& whoami);
 +  static int peek_meta(ObjectStore *store,
 +                     string *magic,
 +                     uuid_d *cluster_fsid,
 +                     uuid_d *osd_fsid,
 +                     int *whoami,
 +                     int *min_osd_release);
    
  
    // startup/shutdown