]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_mdlog_types.h
import ceph 15.2.10
[ceph.git] / ceph / src / rgw / rgw_mdlog_types.h
1
2 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
3 // vim: ts=8 sw=2 smarttab ft=cpp
4
5 /*
6 * Ceph - scalable distributed file system
7 *
8 * Copyright (C) 2019 Red Hat, Inc.
9 *
10 * This is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License version 2.1, as published by the Free Software
13 * Foundation. See file COPYING.
14 *
15 */
16
17
18 #pragma once
19
20 enum RGWMDLogSyncType {
21 APPLY_ALWAYS,
22 APPLY_UPDATES,
23 APPLY_NEWER,
24 APPLY_EXCLUSIVE
25 };
26
27 enum RGWMDLogStatus {
28 MDLOG_STATUS_UNKNOWN,
29 MDLOG_STATUS_WRITE,
30 MDLOG_STATUS_SETATTRS,
31 MDLOG_STATUS_REMOVE,
32 MDLOG_STATUS_COMPLETE,
33 MDLOG_STATUS_ABORT,
34 };
35