All of lore.kernel.org
 help / color / mirror / Atom feed
* + block-add-missed-trace_block_plug.patch added to -mm tree
@ 2011-10-06 21:12 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-10-06 21:12 UTC (permalink / raw)
  To: mm-commits; +Cc: shaohua.li, axboe, namhyung


The patch titled
     Subject: block: add missed trace_block_plug
has been added to the -mm tree.  Its filename is
     block-add-missed-trace_block_plug.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
From: Shaohua Li <shaohua.li@intel.com>
Subject: block: add missed trace_block_plug

After flush plug list, the list has no request, so we need to add a
trace_block_plug().

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@google.com>
---

 block/blk-core.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff -puN block/blk-core.c~block-add-missed-trace_block_plug block/blk-core.c
--- a/block/blk-core.c~block-add-missed-trace_block_plug
+++ a/block/blk-core.c
@@ -1304,8 +1304,10 @@ get_rq:
 				if (__rq->q != q)
 					plug->should_sort = 1;
 			}
-			if (request_count >= BLK_MAX_REQUEST_COUNT)
+			if (request_count >= BLK_MAX_REQUEST_COUNT) {
 				blk_flush_plug_list(plug, false);
+				trace_block_plug(q);
+			}
 		}
 		list_add_tail(&req->queuelist, &plug->list);
 		drive_stat_acct(req, 1);
_
Subject: Subject: block: add missed trace_block_plug

Patches currently in -mm which might be from shaohua.li@intel.com are

origin.patch
linux-next.patch
x86-tlb-flush-avoid-superflous-leave_mm.patch
block-avoid-unnecessary-plug-list-flush.patch
block-add-missed-trace_block_plug.patch
vmscan-add-block-plug-for-page-reclaim.patch
vmscan-count-pages-into-balanced-for-zone-with-good-watermark.patch
vmscan-promote-shared-file-mapped-pages.patch
vmscan-activate-executable-pages-after-first-usage.patch
intel_idle-fix-api-misuse.patch
intel_idle-disable-auto_demotion-for-hotplugged-cpus.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-06 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-06 21:12 + block-add-missed-trace_block_plug.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.