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:
32a08b5
)
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
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:17 +0000
(17:49 -0700)
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 32a1c123dfb36a5fff24857221a9a4d1b79131bf..677f57445fd96a548c7db4b8ffaf0aeebb80d2f2 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);
}
}