linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>, clm@fb.com
Subject: [PULL][PATCH 0/7] Updates in message printers and formatters
Date: Sun, 11 Oct 2015 20:04:08 +0200	[thread overview]
Message-ID: <cover.1444585955.git.dsterba@suse.com> (raw)

Hi,

this was inspired by recent Anand's post to change the printing format of the
btrfs_err etc. helpers to include UUID. We do not use the helpers everywhere,
so I've introduced all the missing variants that require eg printing the
rcu_string (device name), are ratelimited or are both ratelimited and using
rcu_string.

First part introduces macros and switches existing users, the patch 7/7 converts
some printks to the helpers (avoiding mostly debugging messages).

In the end we should route all user-visile messages through some common
formatter, this is preparatory work. The mount-time messages are still
printk-based.

Please consider for the 4.4 dev cycle. Thanks.

----------------------------------------------------------------

The following changes since commit 9ffecb10283508260936b96022d4ee43a7798b4c:

  Linux 4.3-rc3 (2015-09-27 07:50:08 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git cleanup/messages

for you to fetch changes up to f14d104dbdb5044dac9acd0e983ffb60f706c746:

  btrfs: switch more printks to our helpers (2015-10-08 13:08:03 +0200)

----------------------------------------------------------------
David Sterba (7):
      btrfs: introduce _in_rcu variants of message printing functions
      btrfs: switch message printers to _in_rcu variants
      btrfs: introduce ratelimited _in_rcu variants of message printing functions
      btrfs: switch message printers to ratelimited _in_rcu variants
      btrfs: introduce ratelimited variants of message printing functions
      btrfs: switch message printers to ratelimited variants
      btrfs: switch more printks to our helpers

 fs/btrfs/check-integrity.c  |  4 +--
 fs/btrfs/ctree.h            | 88 +++++++++++++++++++++++++++++++++++++++++++++
 fs/btrfs/dev-replace.c      | 16 ++++-----
 fs/btrfs/disk-io.c          | 37 ++++++++++---------
 fs/btrfs/extent-tree.c      | 14 ++++----
 fs/btrfs/extent_io.c        | 26 +++++++-------
 fs/btrfs/free-space-cache.c | 10 +++---
 fs/btrfs/inode.c            |  7 ++--
 fs/btrfs/ioctl.c            |  8 ++---
 fs/btrfs/root-tree.c        |  5 +--
 fs/btrfs/scrub.c            | 42 +++++++++++-----------
 fs/btrfs/send.c             |  2 +-
 fs/btrfs/volumes.c          | 25 ++++++-------
 13 files changed, 187 insertions(+), 97 deletions(-)

             reply	other threads:[~2015-10-11 18:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-11 18:04 David Sterba [this message]
2015-10-11 18:04 ` [PATCH 1/7] btrfs: introduce _in_rcu variants of message printing functions David Sterba
2015-10-11 18:04 ` [PATCH 2/7] btrfs: switch message printers to _in_rcu variants David Sterba
2015-10-11 18:04 ` [PATCH 3/7] btrfs: introduce ratelimited _in_rcu variants of message printing functions David Sterba
2015-10-11 18:04 ` [PATCH 4/7] btrfs: switch message printers to ratelimited _in_rcu variants David Sterba
2015-10-11 18:04 ` [PATCH 5/7] btrfs: introduce ratelimited variants of message printing functions David Sterba
2015-10-11 18:04 ` [PATCH 6/7] btrfs: switch message printers to ratelimited variants David Sterba
2015-10-11 18:04 ` [PATCH 7/7] btrfs: switch more printks to our helpers David Sterba

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=cover.1444585955.git.dsterba@suse.com \
    --to=dsterba@suse.com \
    --cc=clm@fb.com \
    --cc=linux-btrfs@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).