mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Simmons <jsimmons@infradead.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devel@driverdev.osuosl.org, Oleg Drokin <oleg.drokin@intel.com>,
	Andreas Dilger <andreas.dilger@intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	lustre-devel@lists.lustre.org,
	James Simmons <jsimmons@infradead.org>,
	James Simmons <uja.ornl@gmail.com>
Subject: [PATCH 0/9] staging:lustre: remove kernel defines in userland headers
Date: Thu, 11 Jun 2015 15:18:06 -0400	[thread overview]
Message-ID: <1434050295-10986-1-git-send-email-jsimmons@infradead.org> (raw)

Currently the lnet headers used for user land applications
contain various kernel definations. This is due to the
fact libcfs contains kernel wrappers for user land which
will be going away. This patch sorted the header data
so all kernel containing structures are moved out of
headers that user land will use.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245
Reviewed-on: http://review.whamcloud.com/13792
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>

James Simmons (6):
  staging:lustre: Delete all obsolete LND drivers
  staging:lustre: move LNet NID macros to LNet layer
  staging:lustre: separate kernel and user land defines in the LNet headers
  staging:lustre: fix camel case for LNetInit and LNetFini
  staging:lustre: LNet header code cleanup - indentation etc
  staging:lustre: Update license and copyright for the LNET headers

John L. Hammond (3):
  staging:lustre: remove lnet/include/lnet/linux/
  staging:lustre: rename socklnd_lib-linux.c
  staging:lustre: merge socklnd_lib-linux.h into socklnd.h

 .../lustre/include/linux/libcfs/libcfs_ioctl.h     |    2 +-
 .../lustre/include/linux/libcfs/libcfs_private.h   |   55 --
 .../lustre/include/linux/lnet/api-support.h        |   44 --
 drivers/staging/lustre/include/linux/lnet/api.h    |   48 +-
 .../staging/lustre/include/linux/lnet/lib-lnet.h   |   56 +-
 .../staging/lustre/include/linux/lnet/lib-types.h  |  647 ++++++++------------
 .../lustre/include/linux/lnet/linux/api-support.h  |   42 --
 .../lustre/include/linux/lnet/linux/lib-lnet.h     |   71 ---
 .../lustre/include/linux/lnet/linux/lib-types.h    |   45 --
 .../staging/lustre/include/linux/lnet/linux/lnet.h |   56 --
 .../lustre/include/linux/lnet/lnet-sysctl.h        |   49 --
 drivers/staging/lustre/include/linux/lnet/lnet.h   |   17 +-
 .../staging/lustre/include/linux/lnet/lnetctl.h    |    7 +-
 drivers/staging/lustre/include/linux/lnet/lnetst.h |  490 ++++++++-------
 drivers/staging/lustre/include/linux/lnet/nidstr.h |   77 +++
 drivers/staging/lustre/include/linux/lnet/ptllnd.h |   93 ---
 .../lustre/include/linux/lnet/ptllnd_wire.h        |  119 ----
 .../staging/lustre/include/linux/lnet/socklnd.h    |   68 +--
 drivers/staging/lustre/include/linux/lnet/types.h  |  290 +++++++--
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c    |    5 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h    |    1 -
 drivers/staging/lustre/lnet/klnds/socklnd/Makefile |    2 +-
 .../staging/lustre/lnet/klnds/socklnd/socklnd.h    |   40 ++-
 .../lustre/lnet/klnds/socklnd/socklnd_lib-linux.h  |   86 ---
 .../socklnd/{socklnd_lib-linux.c => socklnd_lib.c} |    7 +-
 drivers/staging/lustre/lnet/lnet/acceptor.c        |    2 -
 drivers/staging/lustre/lnet/lnet/api-ni.c          |   21 +-
 drivers/staging/lustre/lnet/lnet/config.c          |   77 ---
 drivers/staging/lustre/lnet/lnet/module.c          |    6 +-
 drivers/staging/lustre/lnet/lnet/router.c          |  145 -----
 .../lustre/lustre/include/lustre/lustre_idl.h      |    1 +
 drivers/staging/lustre/lustre/include/lustre_net.h |    4 +-
 32 files changed, 975 insertions(+), 1698 deletions(-)
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/api-support.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/linux/api-support.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/linux/lib-lnet.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/linux/lib-types.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/linux/lnet.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/lnet-sysctl.h
 create mode 100644 drivers/staging/lustre/include/linux/lnet/nidstr.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/ptllnd.h
 delete mode 100644 drivers/staging/lustre/include/linux/lnet/ptllnd_wire.h
 delete mode 100644 drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.h
 rename drivers/staging/lustre/lnet/klnds/socklnd/{socklnd_lib-linux.c => socklnd_lib.c} (99%)


             reply	other threads:[~2015-06-11 19:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 19:18 James Simmons [this message]
2015-06-11 19:18 ` [PATCH v4 1/9] staging:lustre: Delete all obsolete LND drivers James Simmons
2015-06-11 19:18 ` [PATCH v4 2/9] staging:lustre: remove lnet/include/lnet/linux/ James Simmons
2015-06-11 19:18 ` [PATCH v4 3/9] staging:lustre: rename socklnd_lib-linux.c James Simmons
2015-06-11 19:18 ` [PATCH v4 4/9] staging:lustre: merge socklnd_lib-linux.h into socklnd.h James Simmons
2015-06-24 12:37   ` Geert Uytterhoeven
2015-06-25  1:33     ` Guenter Roeck
2015-06-25  6:37       ` Geert Uytterhoeven
2015-06-25 15:02         ` Simmons, James A.
2015-06-25 15:06       ` Simmons, James A.
2015-06-11 19:18 ` [PATCH v4 5/9] staging:lustre: move LNet NID macros to LNet layer James Simmons
2015-06-11 19:18 ` [PATCH v4 6/9] staging:lustre: separate kernel and user land defines in the LNet headers James Simmons
2015-06-11 19:18 ` [PATCH v4 7/9] staging:lustre: fix camel case for LNetInit and LNetFini James Simmons
2015-06-11 19:18 ` [PATCH v4 8/9] staging:lustre: LNet header code cleanup - indentation etc James Simmons
2015-06-11 19:18 ` [PATCH v4 9/9] staging:lustre: Update license and copyright for the LNET headers James Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434050295-10986-1-git-send-email-jsimmons@infradead.org \
    --to=jsimmons@infradead.org \
    --cc=andreas.dilger@intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lustre-devel@lists.lustre.org \
    --cc=oleg.drokin@intel.com \
    --cc=uja.ornl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®