]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: extract apply_olh logic for clearing olh to a method
authorCory Snyder <csnyder@1111systems.com>
Mon, 3 Jul 2023 19:01:47 +0000 (19:01 +0000)
committerCory Snyder <csnyder@1111systems.com>
Wed, 19 Jul 2023 17:58:21 +0000 (17:58 +0000)
commitaa58cfbc00a9d8c588fdaf04ff999f989ed7f480
treea20e23f4721dfedfebf27207d68df8618c94b5fb
parenta106e93bef9e2ada9f6af34c02d8ed09d51609b6
rgw: extract apply_olh logic for clearing olh to a method

Also clears stale pending entries prior to attempting to
clear OLH index entries and remove the OLH object.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 3437897deaec478f231dcad68b05fa38a7f2cb10)

Conflicts:
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_rados.h

Cherry-pick notes:
- Conflicts due to rgw_rados.h/cc moving to a new directory after Pacific
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h