]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: queue: append partition subname to queue thread name
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 23 Jun 2011 10:40:28 +0000 (13:40 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:52:57 +0000 (18:52 -0400)
commitd09408ade08a08a710a247fb52aa50101e73ebf7
treeddae7661d9a0f5f9315bd7f746d79242ccba94bf
parent4cf8c6dd2e261da94b87c4deadcc136ab022b6ac
mmc: queue: append partition subname to queue thread name

For example, an eMMC with 2 boot partitions will have 3 threads.
The names change from:

   40 ?        00:00:00 mmcqd/0
   41 ?        00:00:00 mmcqd/0
   42 ?        00:00:00 mmcqd/0

to:

   40 ?        00:00:00 mmcqd/0
   41 ?        00:00:00 mmcqd/0boot0
   42 ?        00:00:00 mmcqd/0boot1

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c
drivers/mmc/card/queue.c
drivers/mmc/card/queue.h