]> git.proxmox.com Git - ceph.git/blob - ceph/src/extblkdev/vdo/ExtBlkDevPluginVdo.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / extblkdev / vdo / ExtBlkDevPluginVdo.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3 /*
4 * Ceph distributed storage system
5 *
6 * (C) Copyright IBM Corporation 2022
7 * Author: Martin Ohmacht <mohmacht@us.ibm.com>
8 *
9 * Based on the file src/erasure-code/clay/ErasureCodePluginClay.h
10 * Copyright (C) 2018 Indian Institute of Science <office.ece@iisc.ac.in>
11 *
12 * Author: Myna Vajha <mynaramana@gmail.com>
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 */
20
21 #ifndef CEPH_EXT_BLK_DEV_PLUGIN_VDO_H
22 #define CEPH_EXT_BLK_DEV_PLUGIN_VDO_H
23
24 #include "ExtBlkDevVdo.h"
25
26 class ExtBlkDevPluginVdo : public ceph::ExtBlkDevPlugin {
27 public:
28 explicit ExtBlkDevPluginVdo(CephContext *cct) : ExtBlkDevPlugin(cct) {}
29 int get_required_cap_set(cap_t caps) override;
30 int factory(const std::string& logdevname,
31 ceph::ExtBlkDevInterfaceRef& ext_blk_dev) override;
32 };
33
34 #endif