]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: add more privacy 37745/head
authorKefu Chai <kchai@redhat.com>
Thu, 22 Oct 2020 04:40:37 +0000 (12:40 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 22 Oct 2020 04:44:52 +0000 (12:44 +0800)
commit3f52aef0f6ee18b13ced6c12f5f3cd6a5d3f60a3
treedba57da823fe8444a86ed6e201a83fac2fa72160
parentbb1a7be8a422b75ea96ac59dbb1613532316cc70
crimson/osd: add more privacy

* reorder the member variable and member function definitions so the
  private members are listed at the end of class. as requested by
  the CodingStyle
* mark some member variables and member functions private, as long as
  they are not used by other classes or non-friend classes.
* document UrgentRecovery
* refactor BackgroundRecovery::get_scheduler_params() to dedup
  the comments

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operations/background_recovery.cc
src/crimson/osd/osd_operations/background_recovery.h