Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / tools / rados / PoolDump.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3 /*
4  * Ceph - scalable distributed file system
5  *
6  * Copyright (C) 2015 Red Hat
7  *
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.
12  *
13  */
14
15
16 #ifndef POOL_DUMP_H_
17 #define POOL_DUMP_H_
18
19 #include "tools/RadosDump.h"
20
21 namespace librados {
22     class IoCtx;
23 }
24
25 class PoolDump : public RadosDump
26 {
27   public:
28     explicit PoolDump(int file_fd_) : RadosDump(file_fd_, false) {}
29     int dump(librados::IoCtx *io_ctx);
30 };
31
32 #endif // POOL_DUMP_H_