[PATCH 0/7] orangefs uapi

From: Martin Brandenburg
Date: Fri Jan 26 2018 - 14:07:49 EST


First delete a good bit of dead code and change a few things to static.

Then move userspace visible interface to uapi.

This isn't immediately helpful without userspace consumers. This should
be helpful to your [Mike's] work with OrangeFS 3.0. We will need to
translate between OrangeFS internal data structures and kernel interface
data structures in the pvfs2-client-core.

I have also written a "fakecore" which does about the bare minimum to
start up and respond to mount requests. I intend to use this as a
vehicle for experimentation with fuzzing and testing performance through
our kernel code without the rest of OrangeFS running.

We'll want to consider whether any names in here should be changed
before setting this in stone. Most start with orangefs but there's a
few outliers. Particularly struct ORANGEFS_sys_attr_s contains some
fields which the kernel doesn't need to know.

Martin Brandenburg (7):
orangefs: make orangefs_client_debug_init static
orangefs: remove gossip_ldebug and gossip_lerr
orangefs: remove ORANGEFS_KERNEL_DEBUG
orangefs: make orangefs_make_bad_inode static
ornagefs: make several *_operations structs static
orangefs: remove unused code
orangefs: create uapi interface

fs/orangefs/acl.c | 1 -
fs/orangefs/dcache.c | 1 -
fs/orangefs/devorangefs-req.c | 54 ++-
fs/orangefs/dir.c | 1 -
fs/orangefs/downcall.h | 137 --------
fs/orangefs/file.c | 1 -
fs/orangefs/inode.c | 5 +-
fs/orangefs/namei.c | 1 -
fs/orangefs/orangefs-bufmap.c | 1 -
fs/orangefs/orangefs-cache.c | 1 -
fs/orangefs/orangefs-debug.h | 33 --
fs/orangefs/orangefs-debugfs.c | 8 +-
fs/orangefs/orangefs-debugfs.h | 1 -
fs/orangefs/orangefs-dev-proto.h | 61 ----
fs/orangefs/orangefs-kernel.h | 93 +----
fs/orangefs/orangefs-mod.c | 1 -
fs/orangefs/orangefs-sysfs.c | 1 -
fs/orangefs/orangefs-utils.c | 40 +--
fs/orangefs/protocol.h | 354 -------------------
fs/orangefs/super.c | 3 +-
fs/orangefs/symlink.c | 1 -
fs/orangefs/upcall.h | 260 --------------
fs/orangefs/waitqueue.c | 1 -
fs/orangefs/xattr.c | 1 -
include/uapi/linux/orangefs.h | 732 +++++++++++++++++++++++++++++++++++++++
25 files changed, 788 insertions(+), 1005 deletions(-)
delete mode 100644 fs/orangefs/downcall.h
delete mode 100644 fs/orangefs/orangefs-dev-proto.h
delete mode 100644 fs/orangefs/upcall.h
create mode 100644 include/uapi/linux/orangefs.h

--
2.14.2