btrfs: printing cleanup patchset
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: add dynamic debug supportfs/ | +30 | 0 replies | |
| 2/5 | btrfs: unsplit printed stringsfs/ fs/ fs/ +24 more | +324 | 0 replies | |
| 3/5 | btrfs: convert printk(KERN_* to use pr_* callsfs/ fs/ fs/ +13 more | +205 | 0 replies | |
| 4/5 | btrfs: convert pr_* to btrfs_* where possiblefs/ fs/ fs/ +17 more | +233 | 2 replies | |
| 5/5 | btrfs: convert send's verbose_printk to btrfs_debugfs/ | +38 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | David Sterba |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | R-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] btrfs: printing cleanup patchset
From: Jeff Mahoney <[email protected]>
This is a patchset I've been working on to clean up message printing, make it adhere to kernel style, and be more consistent.
The end result is that we:
* use dynamic debugging for debugging messages
* merge strings that exceed 80 characters into a single greppable string
* convert printk calls to btrfs_{warn,info,err,debug,etc} calls where it makes sense.
* dump the ad-hoc verbose_printk garbage in send
The exception to this is check-integrity since it has a ton of messages and it also has its own mask mechanism. I wanted to discuss if we wanted to find another solution to that and, if so, how we want to move forward there.
Dave, this will probably conflict with the fsinfo patchset, so please advise on which you want to land first.
-Jeff
Jeff Mahoney (5):
btrfs: add dynamic debug support
btrfs: unsplit printed strings
btrfs: convert printk(KERN_* to use pr_* calls
btrfs: convert pr_* to btrfs_* where possible
btrfs: convert send's verbose_printk to btrfs_debug
fs/btrfs/backref.c | 48 ++++--- fs/btrfs/check-integrity.c | 335 ++++++++++++++------------------------------ fs/btrfs/compression.c | 6 +- fs/btrfs/ctree.c | 12 +- fs/btrfs/ctree.h | 39 +++++- fs/btrfs/delayed-inode.c | 17 +-- fs/btrfs/delayed-ref.c | 9 +- fs/btrfs/dev-replace.c | 21 +-- fs/btrfs/dir-item.c | 7 +- fs/btrfs/disk-io.c | 98 ++++++------- fs/btrfs/extent-tree.c | 106 +++++++------- fs/btrfs/extent_io.c | 93 ++++++------ fs/btrfs/free-space-cache.c | 21 +-- fs/btrfs/free-space-cache.h | 6 +- fs/btrfs/free-space-tree.c | 14 +- fs/btrfs/inode-map.c | 31 ++-- fs/btrfs/inode.c | 26 ++-- fs/btrfs/ioctl.c | 14 +- fs/btrfs/lzo.c | 6 +- fs/btrfs/ordered-data.c | 4 +- fs/btrfs/print-tree.c | 86 +++++------- fs/btrfs/qgroup.c | 22 +-- fs/btrfs/reada.c | 32 ++--- fs/btrfs/relocation.c | 16 ++- fs/btrfs/root-tree.c | 18 +-- fs/btrfs/scrub.c | 58 ++++---- fs/btrfs/send.c | 71 +++++----- fs/btrfs/super.c | 60 ++++---- fs/btrfs/sysfs.c | 8 +- fs/btrfs/transaction.c | 20 +-- fs/btrfs/transaction.h | 1 + fs/btrfs/tree-log.c | 8 +- fs/btrfs/uuid-tree.c | 27 ++-- fs/btrfs/volumes.c | 131 +++++++++-------- fs/btrfs/volumes.h | 2 +- fs/btrfs/zlib.c | 8 +- 36 files changed, 719 insertions(+), 762 deletions(-)
Signature · 1 line
2.7.1