From: Sage Weil Date: Tue, 4 Jan 2011 17:16:52 +0000 (-0800) Subject: remove ancient uofs.h X-Git-Tag: v0.25~398 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d2578107745f80ec1a9f48e6a8bb234aaa28b97f;p=ceph.git remove ancient uofs.h Signed-off-by: Sage Weil --- diff --git a/src/Makefile.am b/src/Makefile.am index 8b72b12f09a2..cb260a18dcb5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -654,7 +654,6 @@ noinst_HEADERS = \ include/triple.h\ include/tstring.h\ include/types.h\ - include/uofs.h\ include/utime.h\ include/dlist.h\ include/elist.h\ diff --git a/src/include/uofs.h b/src/include/uofs.h deleted file mode 100644 index 41346a04d887..000000000000 --- a/src/include/uofs.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab -/* - * Ceph - scalable distributed file system - * - * Copyright (C) 2004-2006 Sage Weil - * - * This is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software - * Foundation. See file COPYING. - * - */ - - -/* - * uofs.h - * - * user-level object-based file system - */ - - #ifndef CEPH_UOFS_H - #define CEPH_UOFS_H - - #include - #include - #include - - - int device_open(char *path, int xflags); - void device_findsizes(int fd, long long *sz, int *bsz); - - int uofs_format(int bdev_id, int donode_size, int bd_ratio, int reg_size, int sb_size, int lb_size, - int nr_hash_table_buckets, int delay_allocation, int flush_interval); - - int uofs_mount(int bdev_id); - void uofs_shutdown(void); - - int uofs_read(long long oid, void *buf, off_t offset, size_t count); - int uofs_write(long long oid, void *buf, off_t offset, size_t count); - int uofs_del(long long oid); - int uofs_sync(long long oid); - int uofs_exist(long long oid); - - int uofs_get_size(long long oid); - - void uofs_superblock_printout(void); - int get_large_object_pages(void); - - int uofs_buffer_size(void); - #endif