linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL][PATCH 0/7] Updates in message printers and formatters
@ 2015-10-11 18:04 David Sterba
  2015-10-11 18:04 ` [PATCH 1/7] btrfs: introduce _in_rcu variants of message printing functions David Sterba
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: David Sterba @ 2015-10-11 18:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba, clm

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(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-11 18:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-11 18:04 [PULL][PATCH 0/7] Updates in message printers and formatters David Sterba
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

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).