]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: return -EINVAL if op is for existing cache tier
authormyoungwon oh <ohmyoungwon@gmail.com>
Wed, 24 Feb 2021 14:39:50 +0000 (23:39 +0900)
committerSage Weil <sage@newdream.net>
Sun, 21 Mar 2021 13:23:04 +0000 (08:23 -0500)
commit8107b8626c7ee788f31c3ce78b5b67c270d337d0
treedde5fb729e28b20887abe60d2e4aa9aa4453d61e
parent1e0721a3b6b83468f23f391271e970f4c2b0c4ac
osd: return -EINVAL if op is for existing cache tier

At the end of unit test, flush and evict are called.
But, those ops affect manifest object because
cache_mode is not set to NONE sometime.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
(cherry picked from commit 61b43e93bbb636c4852a304da031497a4c3671e3)
src/osd/PrimaryLogPG.cc