-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
1 parent
6564fc1
commit a1d3ce7
Showing
4 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters