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) 2014 Inktank, Inc
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 CEPH_XFSFILESTOREBACKEND_H
16 #define CEPH_XFSFILESTOREBACKEND_H
18 #include "GenericFileStoreBackend.h"
20 #include "include/int_types.h"
22 class XfsFileStoreBackend : public GenericFileStoreBackend {
25 int set_extsize(int fd, unsigned int val);
27 explicit XfsFileStoreBackend(FileStore *fs);
28 ~XfsFileStoreBackend() override {}
29 const char *get_name() override {
32 int detect_features() override;
33 int set_alloc_hint(int fd, uint64_t hint) override;
36 #endif /* CEPH_XFSFILESTOREBACKEND_H */