[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080319.180919.118947998.k-ueda@ct.jp.nec.com>
Date: Wed, 19 Mar 2008 18:09:19 -0500 (EST)
From: Kiyoshi Ueda <k-ueda@...jp.nec.com>
To: jens.axboe@...cle.com, michaelc@...wisc.edu, hare@...e.de,
agk@...hat.com, linux-kernel@...r.kernel.org
Cc: linux-scsi@...r.kernel.org, dm-devel@...hat.com,
j-nomura@...jp.nec.com, k-ueda@...jp.nec.com
Subject: [RFC PATCH 04/13] block: export blk_register_queue
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()
separately.
Signed-off-by: Kiyoshi Ueda <k-ueda@...jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@...jp.nec.com>
---
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;
}
+EXPORT_SYMBOL_GPL(blk_register_queue);
void blk_unregister_queue(struct gendisk *disk)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists