LKML Archive on
help / color / mirror / Atom feed
* [RFC PATCH 04/13] block: export blk_register_queue
@ 2008-03-19 23:09 Kiyoshi Ueda
  0 siblings, 0 replies; only message in thread
From: Kiyoshi Ueda @ 2008-03-19 23:09 UTC (permalink / raw)
  To: jens.axboe, michaelc, hare, agk, linux-kernel
  Cc: linux-scsi, dm-devel, j-nomura, k-ueda

This patch exports blk_register_queue().

blk_register_queue() is called through add_disk().

Request-based dm defers queue allocation/initialization until
a mapping table is loaded, since the way to initialize queue
is different between bio-based mapping and request-based mapping.
So request-based dm needs to call add_disk() and blk_register_queue()

Signed-off-by: Kiyoshi Ueda <>
Signed-off-by: Jun'ichi Nomura <>
 block/blk-sysfs.c |    1 +
 1 files changed, 1 insertion(+)

Index: 2.6.25-rc5/block/blk-sysfs.c
--- 2.6.25-rc5.orig/block/blk-sysfs.c
+++ 2.6.25-rc5/block/blk-sysfs.c
@@ -295,6 +295,7 @@ int blk_register_queue(struct gendisk *d
 	return 0;
 void blk_unregister_queue(struct gendisk *disk)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-19 23:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-19 23:09 [RFC PATCH 04/13] block: export blk_register_queue Kiyoshi Ueda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).