diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-06-14 20:42:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-06-14 20:42:33 +0000 |
commit | 2d5f80251c73e1e44c8fdd047ef49dbe051d65aa (patch) | |
tree | 74597f2d6eef2e7a6d6338c978b8910f9f947151 /target/linux/goldfish/patches-2.6.30/0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch | |
parent | 157a4ab64660aaca2dd51fa4f82239d3738a1dff (diff) | |
download | master-187ad058-2d5f80251c73e1e44c8fdd047ef49dbe051d65aa.tar.gz master-187ad058-2d5f80251c73e1e44c8fdd047ef49dbe051d65aa.tar.bz2 master-187ad058-2d5f80251c73e1e44c8fdd047ef49dbe051d65aa.zip |
add the 'goldfish' target, useful for experimenting with virtual phone hardware (includes the emulator)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16459 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch')
-rw-r--r-- | target/linux/goldfish/patches-2.6.30/0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch b/target/linux/goldfish/patches-2.6.30/0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch new file mode 100644 index 0000000000..c057e7b17e --- /dev/null +++ b/target/linux/goldfish/patches-2.6.30/0105-block-block_dump-Add-number-of-sectors-to-debug-ou.patch @@ -0,0 +1,27 @@ +From 4d3a01ba872f67bae704e37bf888c38fa83be759 Mon Sep 17 00:00:00 2001 +From: San Mehat <san@android.com> +Date: Sat, 21 Mar 2009 18:48:05 -0700 +Subject: [PATCH 105/134] block: block_dump: Add number of sectors to debug output + +Signed-off-by: San Mehat <san@android.com> +--- + block/blk-core.c | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +--- a/block/blk-core.c ++++ b/block/blk-core.c +@@ -1558,11 +1558,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); + } + } + |