]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add DAOS SAL implementation
authorZuhair AlSader <zuhair.alsader@seagate.com>
Sun, 2 Jan 2022 23:30:52 +0000 (23:30 +0000)
committerZuhair AlSader <zuhair.alsader@seagate.com>
Wed, 7 Sep 2022 16:19:41 +0000 (12:19 -0400)
commit7efceddac849898375c89843491bc7f222ba9cfc
treedbff675d57387ac98fb9c19b53743269eebc5873
parent558df7c10ba43d095ddbe7c8fd9088dec2b77911
rgw: add DAOS SAL implementation

To build with DAOS backend, use -DWITH_RADOSGW_DAOS=YES cmake
option. `daos-devel` rpm should be installed beforehand.

To connect to DAOS pool, add the following configuration
parameters to ceph.conf:
```
    [client]
            ...
            rgw backend store = daos
            daos pool = tank
```

A pool could be created using the following command:
```
    dmg pool create --size=<size> <pool_name>
```

To install `daos-devel` do:
```
    sudo wget -O /etc/yum.repos.d/daos-packages.repo https://packages.daos.io/v2.0/EL8/packages/x86_64/daos_packages.repo
    sudo rpm --import https://packages.daos.io/RPM-GPG-KEY
    sudo yum install -y epel-release daos-server daos-client daos-devel
```

Co-authored-by: Walter Warniaha <walter.warniaha@seagate.com>
Signed-off-by: Zuhair AlSader <zuhair.alsader@seagate.com>
CMakeLists.txt
cmake/modules/FindDAOS.cmake [new file with mode: 0644]
src/common/options/rgw.yaml.in
src/include/config-h.in.cmake
src/rgw/CMakeLists.txt
src/rgw/rgw_common.cc
src/rgw/rgw_sal.cc
src/rgw/rgw_sal_daos.cc [new file with mode: 0644]
src/rgw/rgw_sal_daos.h [new file with mode: 0644]
src/rgw/store/daos/README.md [new file with mode: 0644]