linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Artur Wojcik <artur.wojcik@intel.com>
To: linux-raid@vger.kernel.org
Cc: dan.j.williams@intel.com, ed.ciechanowski@intel.com
Subject: [mdadm PATCH 0/2] Improvement: new logging library for mdadm/mdmon
Date: Thu, 28 Jan 2010 17:04:04 +0100	[thread overview]
Message-ID: <20100128155922.32091.12709.stgit@awojcik-linux> (raw)

The following two patches contains the new method of logging messages
in mdadm and mdmon applications. The first patch is just the library,
and the second patch is the proposal on how to use the library in the
applications.

As for the library, please let me know if detailed explanation is required.

---

Artur Wojcik (2):
      Improvement: new logging facility.
      Improvement: Replace fprintf functions with log_* functions.


 Assemble.c    |  382 +++++++++++++++--------------------
 Build.c       |   65 +++---
 Create.c      |  206 ++++++++-----------
 Detail.c      |   39 ++--
 Examine.c     |   11 +
 Grow.c        |  333 +++++++++++++++++-------------
 Incremental.c |  229 ++++++++-------------
 Kill.c        |   21 +-
 Makefile      |    6 -
 Manage.c      |  163 ++++++---------
 Monitor.c     |  107 +++++-----
 Query.c       |    2
 ReadMe.c      |   18 ++
 bitmap.c      |   35 +--
 config.c      |  142 ++++++-------
 log.c         |  625 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 log.h         |  148 +++++++++++++
 managemon.c   |   10 -
 mdadm.c       |  556 +++++++++++++++++++++++++++++++++++----------------
 mdadm.h       |   78 ++++---
 mdmon.c       |   45 ++--
 mdopen.c      |   39 ++--
 mdstat.c      |    2
 monitor.c     |   29 +--
 super-ddf.c   |  185 +++++++----------
 super-intel.c |  366 ++++++++++++++-------------------
 super0.c      |   68 ++----
 super1.c      |   53 ++---
 sysfs.c       |   24 +-
 test          |    0
 util.c        |   22 +-
 31 files changed, 2396 insertions(+), 1613 deletions(-)
 create mode 100644 log.c
 create mode 100644 log.h
 mode change 100644 => 100755 test

---
Artur Wojcik

             reply	other threads:[~2010-01-28 16:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 16:04 Artur Wojcik [this message]
2010-01-28 16:04 ` [mdadm PATCH 1/2] Improvement: new logging facility Artur Wojcik
2010-01-29  9:52 ` [mdadm PATCH 0/2] Improvement: new logging library for mdadm/mdmon Neil Brown
2010-01-29 16:06   ` Artur Wojcik
2010-01-29 16:38     ` Robin Hill
2010-01-29 22:23     ` Dan Williams
2010-01-30  7:19       ` Michael Evans

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=20100128155922.32091.12709.stgit@awojcik-linux \
    --to=artur.wojcik@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=ed.ciechanowski@intel.com \
    --cc=linux-raid@vger.kernel.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 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).