diff options
author | Samuel Just <sjust@redhat.com> | 2024-10-15 03:46:37 +0200 |
---|---|---|
committer | Samuel Just <sjust@redhat.com> | 2024-10-15 05:37:26 +0200 |
commit | 1f99108d197f1c579838107d4b57be806b6807e1 (patch) | |
tree | 8c1e0921f200668c8747f030c5d0d0b44cef0a7e /src/crimson | |
parent | crimson: remove watchers upon object deletion (diff) | |
download | ceph-1f99108d197f1c579838107d4b57be806b6807e1.tar.xz ceph-1f99108d197f1c579838107d4b57be806b6807e1.zip |
crimson: add missing field to SUBLOGDPPI and LOGDPPI
SUBLOGDPPI and LOGDPPI need an extra {} for the interrupt_cond.
Signed-off-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to 'src/crimson')
-rw-r--r-- | src/crimson/common/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crimson/common/log.h b/src/crimson/common/log.h index 4f564ac044d..c38b225c94b 100644 --- a/src/crimson/common/log.h +++ b/src/crimson/common/log.h @@ -90,7 +90,7 @@ static inline seastar::log_level to_log_level(int level) { #define SUBLOGDPP(subname_, level_, MSG, dpp, ...) \ LOGGER(subname_).log(level_, "{} {}: " MSG, dpp, FNAME , ##__VA_ARGS__) #define SUBLOGDPPI(subname_, level_, MSG, dpp, ...) \ - LOGGER(subname_).log(level_, "{} {}: " MSG, \ + LOGGER(subname_).log(level_, "{} {} {}: " MSG, \ interruptor::get_interrupt_cond(), dpp, FNAME , ##__VA_ARGS__) #define SUBTRACEDPP(subname_, ...) SUBLOGDPP(subname_, seastar::log_level::trace, __VA_ARGS__) #define SUBTRACEDPPI(subname_, ...) SUBLOGDPPI(subname_, seastar::log_level::trace, __VA_ARGS__) @@ -106,7 +106,7 @@ static inline seastar::log_level to_log_level(int level) { #define LOGDPP(level_, MSG, dpp, ...) \ LOCAL_LOGGER.log(level_, "{} {}: " MSG, dpp, FNAME , ##__VA_ARGS__) #define LOGDPPI(level_, MSG, dpp, ...) \ - LOCAL_LOGGER.log(level_, "{} {}: " MSG, \ + LOCAL_LOGGER.log(level_, "{} {} {}: " MSG, \ interruptor::get_interrupt_cond(), dpp, FNAME , ##__VA_ARGS__) #define TRACEDPP(...) LOGDPP(seastar::log_level::trace, __VA_ARGS__) #define TRACEDPPI(...) LOGDPPI(seastar::log_level::trace, __VA_ARGS__) |