Commit 4495a7d4 authored by Kyungmin Park's avatar Kyungmin Park Committed by Jens Axboe

CFQ: Fix typo and remove unnecessary semicolon

Fix comment typo and remove unnecessary semicolon at macro
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent ea9d6553
...@@ -185,7 +185,7 @@ struct cfq_group { ...@@ -185,7 +185,7 @@ struct cfq_group {
int nr_cfqq; int nr_cfqq;
/* /*
* Per group busy queus average. Useful for workload slice calc. We * Per group busy queues average. Useful for workload slice calc. We
* create the array for each prio class but at run time it is used * create the array for each prio class but at run time it is used
* only for RT and BE class and slot for IDLE class remains unused. * only for RT and BE class and slot for IDLE class remains unused.
* This is primarily done to avoid confusion and a gcc warning. * This is primarily done to avoid confusion and a gcc warning.
...@@ -369,16 +369,16 @@ CFQ_CFQQ_FNS(wait_busy); ...@@ -369,16 +369,16 @@ CFQ_CFQQ_FNS(wait_busy);
#define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \ #define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \
blk_add_trace_msg((cfqd)->queue, "cfq%d%c %s " fmt, (cfqq)->pid, \ blk_add_trace_msg((cfqd)->queue, "cfq%d%c %s " fmt, (cfqq)->pid, \
cfq_cfqq_sync((cfqq)) ? 'S' : 'A', \ cfq_cfqq_sync((cfqq)) ? 'S' : 'A', \
blkg_path(&(cfqq)->cfqg->blkg), ##args); blkg_path(&(cfqq)->cfqg->blkg), ##args)
#define cfq_log_cfqg(cfqd, cfqg, fmt, args...) \ #define cfq_log_cfqg(cfqd, cfqg, fmt, args...) \
blk_add_trace_msg((cfqd)->queue, "%s " fmt, \ blk_add_trace_msg((cfqd)->queue, "%s " fmt, \
blkg_path(&(cfqg)->blkg), ##args); \ blkg_path(&(cfqg)->blkg), ##args) \
#else #else
#define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \ #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 " fmt, (cfqq)->pid, ##args)
#define cfq_log_cfqg(cfqd, cfqg, fmt, args...) do {} while (0); #define cfq_log_cfqg(cfqd, cfqg, fmt, args...) do {} while (0)
#endif #endif
#define cfq_log(cfqd, fmt, args...) \ #define cfq_log(cfqd, fmt, args...) \
blk_add_trace_msg((cfqd)->queue, "cfq " fmt, ##args) blk_add_trace_msg((cfqd)->queue, "cfq " fmt, ##args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment