]> git.proxmox.com Git - ceph.git/blame - ceph/src/erasure-code/isa/ErasureCodePluginIsa.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / erasure-code / isa / ErasureCodePluginIsa.h
CommitLineData
7c673cae
FG
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 * Copyright (C) 2014 Cloudwatt <libre.licensing@cloudwatt.com>
7 * Copyright (C) 2014 Red Hat <contact@redhat.com>
8 *
9 * Author: Loic Dachary <loic@dachary.org>
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 */
17
18#ifndef CEPH_ERASURE_CODE_PLUGIN_ISA_H
19#define CEPH_ERASURE_CODE_PLUGIN_ISA_H
20
21#include "erasure-code/ErasureCodePlugin.h"
22#include "ErasureCodeIsaTableCache.h"
23
9f95a23c 24class ErasureCodePluginIsa : public ceph::ErasureCodePlugin {
7c673cae
FG
25public:
26 ErasureCodeIsaTableCache tcache;
27
28 int factory(const std::string &directory,
9f95a23c
TL
29 ceph::ErasureCodeProfile &profile,
30 ceph::ErasureCodeInterfaceRef *erasure_code,
31 std::ostream *ss) override;
7c673cae
FG
32};
33
34#endif