All of lore.kernel.org
 help / color / mirror / Atom feed
* + block-block_dump-add-number-of-sectors-to-debug-output.patch added to -mm tree
@ 2010-09-13 22:48 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-09-13 22:48 UTC (permalink / raw)
  To: mm-commits; +Cc: san, axboe, linus.walleij


The patch titled
     block: block_dump: Add number of sectors to debug output
has been added to the -mm tree.  Its filename is
     block-block_dump-add-number-of-sectors-to-debug-output.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/

------------------------------------------------------
Subject: block: block_dump: Add number of sectors to debug output
From: San Mehat <san@android.com>

Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 block/blk-core.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff -puN block/blk-core.c~block-block_dump-add-number-of-sectors-to-debug-output block/blk-core.c
--- a/block/blk-core.c~block-block_dump-add-number-of-sectors-to-debug-output
+++ a/block/blk-core.c
@@ -1620,11 +1620,12 @@ void submit_bio(int rw, struct bio *bio)
 
 		if (unlikely(block_dump)) {
 			char b[BDEVNAME_SIZE];
-			printk(KERN_DEBUG "%s(%d): %s block %Lu on %s\n",
+			printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n",
 			current->comm, task_pid_nr(current),
 				(rw & WRITE) ? "WRITE" : "READ",
 				(unsigned long long)bio->bi_sector,
-				bdevname(bio->bi_bdev, b));
+				bdevname(bio->bi_bdev, b),
+				count);
 		}
 	}
 
_

Patches currently in -mm which might be from san@android.com are

block-block_dump-add-number-of-sectors-to-debug-output.patch


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

only message in thread, other threads:[~2010-09-13 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-13 22:48 + block-block_dump-add-number-of-sectors-to-debug-output.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.