All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Simmons <jsimmons@infradead.org>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] [PATCH 0/8] lustre: obd: preprocessor cleanups
Date: Mon, 17 Sep 2018 13:31:13 -0400	[thread overview]
Message-ID: <1537205481-6899-1-git-send-email-jsimmons@infradead.org> (raw)

The obd.h, obd_class.h, and clio headers are littered with complex
macros that are difficult to read. These macros existed to handle the
obd stats and md stats which are lacking in the linux client. Newer
versions do support md_stats so lets restore them as well as cleanup
the ugly macros. This patch set is order dependent and is based
on the first batch patch set for lustre 2.10 applied against the
lustre-testing branch.

Ben Evans (4):
  lustre: obdclass: remove CL_PAGE_INVOKE et. al.
  lustre: obdclass: remove cl_for_each defines
  lustre: obdclass: Code cleanup
  lustre: obdclass: cleanup obd_class.h defines

James Simmons (1):
  lustre: obdclass: restore md_stats code

John L. Hammond (3):
  lustre: obd: remove obd_{get,put}ref()
  lustre: obd: remove OBD ops based stats
  lustre: obd: add md_stats to MDC and LMV devices

 .../staging/lustre/lustre/include/lprocfs_status.h |   5 +-
 drivers/staging/lustre/lustre/include/obd.h        |  20 +-
 drivers/staging/lustre/lustre/include/obd_class.h  | 788 ++++++++++++---------
 drivers/staging/lustre/lustre/llite/file.c         |   2 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c    |   3 +-
 drivers/staging/lustre/lustre/lmv/lmv_obd.c        |   9 +-
 drivers/staging/lustre/lustre/lmv/lproc_lmv.c      |   6 +
 drivers/staging/lustre/lustre/lov/lov_dev.c        |  12 +-
 drivers/staging/lustre/lustre/lov/lov_internal.h   |   2 +
 drivers/staging/lustre/lustre/lov/lov_obd.c        |  44 +-
 drivers/staging/lustre/lustre/lov/lov_pool.c       |  10 +-
 drivers/staging/lustre/lustre/lov/lov_request.c    |   4 +-
 drivers/staging/lustre/lustre/mdc/lproc_mdc.c      |   7 +
 drivers/staging/lustre/lustre/mdc/mdc_request.c    |   8 +-
 drivers/staging/lustre/lustre/obdclass/Makefile    |   5 +-
 drivers/staging/lustre/lustre/obdclass/cl_io.c     |  26 +-
 drivers/staging/lustre/lustre/obdclass/cl_object.c |  21 +-
 drivers/staging/lustre/lustre/obdclass/cl_page.c   | 275 +++----
 drivers/staging/lustre/lustre/obdclass/class_obd.c |   1 -
 drivers/staging/lustre/lustre/obdclass/genops.c    |   3 -
 .../staging/lustre/lustre/obdclass/kernelcomm.c    |   7 +-
 drivers/staging/lustre/lustre/obdclass/llog_obd.c  |   4 +-
 .../lustre/lustre/obdclass/lprocfs_status.c        |  66 +-
 drivers/staging/lustre/lustre/obdclass/obd_mount.c |   2 +-
 drivers/staging/lustre/lustre/obdclass/uuid.c      |  45 --
 25 files changed, 753 insertions(+), 622 deletions(-)
 delete mode 100644 drivers/staging/lustre/lustre/obdclass/uuid.c

-- 
1.8.3.1

             reply	other threads:[~2018-09-17 17:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17 17:31 James Simmons [this message]
2018-09-17 17:31 ` [lustre-devel] [PATCH 1/8] lustre: obdclass: remove CL_PAGE_INVOKE et. al James Simmons
2018-09-17 17:31 ` [lustre-devel] [PATCH 2/8] lustre: obdclass: remove cl_for_each defines James Simmons
2018-09-17 17:31 ` [lustre-devel] [PATCH 3/8] lustre: obdclass: Code cleanup James Simmons
2018-09-17 17:31 ` [lustre-devel] [PATCH 4/8] lustre: obdclass: cleanup obd_class.h defines James Simmons
2018-09-18  5:29   ` Alexey Lyashkov
2018-09-24  4:47     ` NeilBrown
2018-09-17 17:31 ` [lustre-devel] [PATCH 5/8] lustre: obd: remove obd_{get,put}ref() James Simmons
2018-09-17 17:31 ` [lustre-devel] [PATCH 6/8] lustre: obd: remove OBD ops based stats James Simmons
2018-09-17 17:31 ` [lustre-devel] [PATCH 7/8] lustre: obdclass: restore md_stats code James Simmons
2018-09-17 17:31 ` [lustre-devel] [PATCH 8/8] lustre: obd: add md_stats to MDC and LMV devices James Simmons
2018-09-27  3:48 ` [lustre-devel] [PATCH 0/8] lustre: obd: preprocessor cleanups NeilBrown

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=1537205481-6899-1-git-send-email-jsimmons@infradead.org \
    --to=jsimmons@infradead.org \
    --cc=lustre-devel@lists.lustre.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.