lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 25 Jun 2012 21:28:43 -0700 From: Josh Hunt <johunt@...mai.com> To: axboe@...nel.dk Cc: vgoyal@...hat.com, linux-kernel@...r.kernel.org, Josh Hunt <johunt@...mai.com> Subject: [PATCH] cfq: reenable printing of sync/async queue info to blktrace cfqq log messages Commit afc24d49c1e5dbeef745c1c1246f5ae6ebd97c71 made the printing of the sync/async queue info only available when you have CONFIG_CFQ_GROUP_IOSCHED enabled. This re-enables it for the case when you do not have that config option set. Signed-off-by: Josh Hunt <johunt@...mai.com> --- block/cfq-iosched.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 3c38536..8307b67 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -383,7 +383,9 @@ CFQ_CFQQ_FNS(wait_busy); #else #define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \ - blk_add_trace_msg((cfqd)->queue, "cfq%d " fmt, (cfqq)->pid, ##args) + blk_add_trace_msg((cfqd)->queue, "cfq%d%c " fmt, (cfqq)->pid, \ + cfq_cfqq_sync((cfqq)) ? 'S' : 'A', \ + ##args) #define cfq_log_cfqg(cfqd, cfqg, fmt, args...) do {} while (0) #endif #define cfq_log(cfqd, fmt, args...) \ -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists