diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2015-02-11 23:27:01 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 01:06:04 (GMT) |
commit | 16c4a097a035c01809aa0c0abd458ca1fe4ff3d0 (patch) | |
tree | fe961117b89c43c293d4914c5301ec59da390c6b /block/blk-flush.c | |
parent | 4645f06334be1ad0eb61aa182c7999fe51bc1ba6 (diff) | |
download | linux-16c4a097a035c01809aa0c0abd458ca1fe4ff3d0.tar.xz |
mm/compaction: enhance tracepoint output for compaction begin/end
We now have tracepoint for begin event of compaction and it prints start
position of both scanners, but, tracepoint for end event of compaction
doesn't print finish position of both scanners. It'd be also useful to
know finish position of both scanners so this patch add it. It will help
to find odd behavior or problem on compaction internal logic.
And mode is added to both begin/end tracepoint output, since according to
mode, compaction behavior is quite different.
And lastly, status format is changed to string rather than status number
for readability.
[akpm@linux-foundation.org: fix sparse warning]
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions