1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2011 New Dream Network
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
15 #ifndef TEST_SYSTEM_ST_RADOS_DELETE_POOL_H
16 #define TEST_SYSTEM_ST_RADOS_DELETE_POOL_H
18 #include "systest_runnable.h"
20 class CrossProcessSem;
23 * st_rados_delete_pool
25 * Waits on pool_setup_sem, posts to it,
26 * deletes a pool, and posts to delete_pool_sem.
28 class StRadosDeletePool : public SysTestRunnable
31 StRadosDeletePool(int argc, const char **argv,
32 CrossProcessSem *pool_setup_sem,
33 CrossProcessSem *delete_pool_sem,
34 const std::string &pool_name);
35 ~StRadosDeletePool() override;
38 CrossProcessSem *m_pool_setup_sem;
39 CrossProcessSem *m_delete_pool_sem;
40 std::string m_pool_name;