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_OBJS_H
16 #define TEST_SYSTEM_ST_RADOS_DELETE_OBJS_H
18 #include "systest_runnable.h"
20 class CrossProcessSem;
23 * st_rados_delete_objs
25 * Waits on setup_sem, posts to it,
26 * deletes num_objs objects from the pool,
27 * and posts to deleted_sem.
29 class StRadosDeleteObjs : public SysTestRunnable
32 StRadosDeleteObjs(int argc, const char **argv,
33 CrossProcessSem *setup_sem,
34 CrossProcessSem *deleted_sem,
36 const std::string &pool_name,
37 const std::string &suffix);
38 ~StRadosDeleteObjs() override;
41 CrossProcessSem *m_setup_sem;
42 CrossProcessSem *m_deleted_sem;
44 std::string m_pool_name;