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

pacific: mon: add proxy to cache tier options #50552

Merged
merged 1 commit into from
Nov 28, 2023

Commits on Mar 15, 2023

  1. mon: add proxy to cache tier options

    When we set the proxy mode to remove a writeback cache according to
    the ceph official documentation an error occurred:
    
    [root@controller-1 root]# ceph osd tier cache-mode cachepool proxy
    Invalid command: proxy not in writeback|readproxy|readonly|none
    osd tier cache-mode writeback|readproxy|readonly|none [--yes-i-really-mean-it]:
    specify the caching mode for cache tier
    
    According to the description of the official website document: since
    a writeback cache may have modified data, you must take steps to ensure
    that you do not lose any recent changes to objects in the cache before
    you disable and remove it. Change the cache mode to proxy so that new and
    modified objects will flush to the backing storage pool.
    
    Fixes: https://tracker.ceph.com/issues/54576
    Signed-off-by: tan changzhi <544463199@qq.com>
    (cherry picked from commit 77ad5a8)
    tancz1 authored and rzarzynski committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    a1d3ce7 View commit details
    Browse the repository at this point in the history