From: James Simmons <jsimmons@infradead.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
devel@driverdev.osuosl.org,
Andreas Dilger <andreas.dilger@intel.com>,
Oleg Drokin <oleg.drokin@intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Lustre Development List <lustre-devel@lists.lustre.org>,
James Simmons <jsimmons@infradead.org>
Subject: [PATCH 0/6] Fix ups to make lustre_idl.h a proper UAPI header
Date: Fri, 2 Dec 2016 14:40:44 -0500 [thread overview]
Message-ID: <1480707650-24089-1-git-send-email-jsimmons@infradead.org> (raw)
The header lustre_idl.h is a UAPI header which contains extras
that don't belong. This patch set moves a bunch of very kernel
specific material out of the header. Lastly proper byteorder
functions are used so this file can build in user space as well.
Ben Evans (5):
staging: lustre: headers: move swab functions to new header files
staging: lustre: headers: sort headers affected by swab move
staging: lustre: obdclass: Create a header for obdo related functions
staging: lustre: headers: sort headers affected by obdo move
staging: lustre: headers: Move functions out of lustre_idl.h
James Simmons (1):
staging: lustre: headers: use proper byteorder functions in lustre_idl.h
drivers/staging/lustre/lustre/include/llog_swab.h | 65 +++++
.../staging/lustre/lustre/include/lprocfs_status.h | 2 +
.../lustre/lustre/include/lustre/lustre_idl.h | 289 ++------------------
.../lustre/lustre/include/lustre/lustre_user.h | 2 -
drivers/staging/lustre/lustre/include/lustre_dlm.h | 13 +
.../staging/lustre/lustre/include/lustre_obdo.h | 54 ++++
drivers/staging/lustre/lustre/include/lustre_sec.h | 1 +
.../staging/lustre/lustre/include/lustre_swab.h | 108 ++++++++
drivers/staging/lustre/lustre/ldlm/ldlm_internal.h | 6 +
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 1 +
drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 27 ++
drivers/staging/lustre/lustre/llite/dir.c | 2 +
drivers/staging/lustre/lustre/llite/file.c | 1 +
drivers/staging/lustre/lustre/lov/lov_obd.c | 18 +-
drivers/staging/lustre/lustre/lov/lov_pack.c | 7 +-
drivers/staging/lustre/lustre/mdc/mdc_lib.c | 6 +
drivers/staging/lustre/lustre/mdc/mdc_locks.c | 4 +-
drivers/staging/lustre/lustre/mdc/mdc_request.c | 13 +-
drivers/staging/lustre/lustre/mgc/mgc_request.c | 8 +-
drivers/staging/lustre/lustre/obdclass/llog.c | 3 +-
drivers/staging/lustre/lustre/obdclass/llog_swab.c | 1 +
.../staging/lustre/lustre/obdclass/obd_config.c | 7 +-
drivers/staging/lustre/lustre/obdclass/obdo.c | 54 ++++
drivers/staging/lustre/lustre/osc/osc_io.c | 2 +
drivers/staging/lustre/lustre/osc/osc_request.c | 13 +-
drivers/staging/lustre/lustre/ptlrpc/layout.c | 12 +-
.../staging/lustre/lustre/ptlrpc/pack_generic.c | 9 +-
27 files changed, 430 insertions(+), 298 deletions(-)
create mode 100644 drivers/staging/lustre/lustre/include/llog_swab.h
create mode 100644 drivers/staging/lustre/lustre/include/lustre_obdo.h
create mode 100644 drivers/staging/lustre/lustre/include/lustre_swab.h
next reply other threads:[~2016-12-02 19:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 19:40 James Simmons [this message]
2016-12-02 19:40 ` [PATCH 1/6] staging: lustre: headers: move swab functions to new header files James Simmons
2016-12-02 19:40 ` [PATCH 2/6] staging: lustre: headers: sort headers affected by swab move James Simmons
2016-12-06 9:32 ` Greg Kroah-Hartman
2016-12-02 19:40 ` [PATCH 3/6] staging: lustre: obdclass: Create a header for obdo related functions James Simmons
2016-12-03 13:27 ` kbuild test robot
2016-12-05 20:50 ` Dan Carpenter
2016-12-05 21:55 ` [lustre-devel] " Dilger, Andreas
2016-12-05 22:06 ` Dan Carpenter
2016-12-07 19:18 ` James Simmons
2016-12-06 9:36 ` Greg Kroah-Hartman
2016-12-07 19:13 ` James Simmons
2016-12-02 19:40 ` [PATCH 4/6] staging: lustre: headers: sort headers affected by obdo move James Simmons
2016-12-02 19:40 ` [PATCH 5/6] staging: lustre: headers: Move functions out of lustre_idl.h James Simmons
2016-12-05 20:54 ` Dan Carpenter
2016-12-02 19:40 ` [PATCH 6/6] staging: lustre: headers: use proper byteorder functions in lustre_idl.h 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=1480707650-24089-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 \
/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;
as well as URLs for NNTP newsgroup(s).