Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omap small bugs #6046

Closed
wants to merge 10 commits into from
Closed

Omap small bugs #6046

wants to merge 10 commits into from

Commits on Sep 22, 2015

  1. osd/ReplicatedPG: It should call clear_omap_digest.

    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    14b67e3 View commit details
    Browse the repository at this point in the history
  2. osd/ReplicatedPG: for omapclear/omaprmkeys no neet set FLAG_OMAP.

    When set omapheader/omapvals, it alreade set FLAG_OMAP. So for remove
    don't set again.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    39bc156 View commit details
    Browse the repository at this point in the history
  3. osd/ReplicatedPG: for omapsetheader, remove the duplicated code.

    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    323fd52 View commit details
    Browse the repository at this point in the history
  4. osd/ReplicatedPG: For omapclear/omaprmkeys, no need call touch.

    The code already check object whether exist. So it don't need call
    touch.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    ee5ccfb View commit details
    Browse the repository at this point in the history
  5. osd/ReplicatedBackend: Don't forget reset_tp_timeout for first read.

    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 22, 2015
    Configuration menu
    Copy the full SHA
    9368cff View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2015

  1. osd/ReplicatedBackend: Check omap whether exist for get omap when do …

    …deep-scrub.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    d5280fb View commit details
    Browse the repository at this point in the history
  2. osd/ECBackend: optimize get_hashinfo for be_deep_scrub.

    For be_deep_scrub, we already got the hash info attr. So if don't found
    in cache, directly decode rather than call stat & getattr.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    5e64e50 View commit details
    Browse the repository at this point in the history
  3. osd/ECBackend: Remove then unused code.

    Now erasure pool don't support omap. So it dont need set those.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    2e52d07 View commit details
    Browse the repository at this point in the history
  4. osd/PGBackend: Don't change error type from DEEP_ERROR to SHALLOW_ERROR.

    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    f9b321e View commit details
    Browse the repository at this point in the history
  5. osd/ReplicatedPG: for copy_get get omap, firstly check ob whether has…

    … omap.
    
    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    481ad31 View commit details
    Browse the repository at this point in the history