]>
git.proxmox.com Git - ceph.git/blob - 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
4 * Ceph distributed storage system
6 * (C) Copyright IBM Corporation 2022
7 * Author: Martin Ohmacht <mohmacht@us.ibm.com>
9 * Based on the file src/erasure-code/clay/ErasureCodePluginClay.h
10 * Copyright (C) 2018 Indian Institute of Science <office.ece@iisc.ac.in>
12 * Author: Myna Vajha <mynaramana@gmail.com>
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.
21 #ifndef CEPH_EXT_BLK_DEV_PLUGIN_VDO_H
22 #define CEPH_EXT_BLK_DEV_PLUGIN_VDO_H
24 #include "ExtBlkDevVdo.h"
26 class ExtBlkDevPluginVdo
: public ceph::ExtBlkDevPlugin
{
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
;