]> git.baikalelectronics.ru Git - kernel.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)
commitad8be1d88abc47a2843b98d572cf28f0dee567ce
treeddae7661d9a0f5f9315bd7f746d79242ccba94bf
parentd59be5b00e8bb9dfbe3bdc2214d7ba40412b4211
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