Simplify message helpers (avoid level parsing)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: simplify internal btrfs_printk helpersfs/ | +13 | 0 replies | |
| 2/3 | btrfs: pass level to _btrfs_printk() to avoid parsing level from stringfs/ fs/ | +30 | 1 reply | |
| 3/3 | btrfs: remove ASSERT compatibility for gcc < 8.xfs/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Simplify message helpers (avoid level parsing)
Based on patch updating memcpy/strscpy use in printk level parsing
https://lore.kernel.org/linux-btrfs/[email protected]/
it'll be better to avoid the parsing completely. This patchset updates the internal interfaces and passes loglevel directly to the helpers so we can print the description and pick the ratelimit state.
David Sterba (3):
btrfs: simplify internal btrfs_printk helpers
btrfs: pass level to _btrfs_printk() to avoid parsing level from
string
btrfs: remove ASSERT compatibility for gcc < 8.x
fs/btrfs/messages.c | 26 ++++------------ fs/btrfs/messages.h | 76 ++++++++++++++++++++------------------------- 2 files changed, 39 insertions(+), 63 deletions(-)
Signature · 1 line
2.51.1