projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175b79f
)
block: block_dump: Add number of sectors to debug output
author
San Mehat
<san@android.com>
Tue, 14 Sep 2010 06:48:01 +0000
(08:48 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Tue, 14 Sep 2010 06:48:01 +0000
(08:48 +0200)
Signed-off-by: San Mehat <san@android.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index ee1a1e7e63ccfc3e735566e3725febee1890bb2e..8d07c1b7e7018238099c5be64a61aa89b68fb7df 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-1612,11
+1612,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);
}
}