projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a60bb
)
block: block_dump: Add number of sectors to debug output
author
San Mehat
<san@android.com>
Sun, 22 Mar 2009 01:48:05 +0000
(18:48 -0700)
committer
Arve Hjønnevåg
<arve@android.com>
Mon, 8 Feb 2010 23:09:05 +0000
(15:09 -0800)
Signed-off-by: San Mehat <san@android.com>
block/blk-core.c
patch
|
blob
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index 71da5111120c09a6b52c26bf509cb4c14269aab2..ae835b42b6a38d22be304274abc8d33e0cebeaf8 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-1569,11
+1569,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);
}
}