summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-08-30 15:48:45 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-08-31 11:17:18 -0400
commit492dfb489658dfe4a755fa29dd0e34e9c8bd8fb8 (patch)
tree1ad52b1ce98743729c7cacce0c602e22d3a5d076 /include/linux/blkdev.h
parentf19eaa7f53736449a6eac89c3863eca2c64d5913 (diff)
downloadop-kernel-dev-492dfb489658dfe4a755fa29dd0e34e9c8bd8fb8.zip
op-kernel-dev-492dfb489658dfe4a755fa29dd0e34e9c8bd8fb8.tar.gz
[SCSI] block: add support for shared tag maps
The current block queue implementation already contains most of the machinery for shared tag maps. The only remaining pieces are a way to allocate and destroy a tag map independently of the queues (so that the maps can be managed on the life cycle of the overseeing entity) Acked-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index aafe827..427b0d6 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -746,6 +746,8 @@ extern void blk_queue_free_tags(request_queue_t *);
extern int blk_queue_resize_tags(request_queue_t *, int);
extern void blk_queue_invalidate_tags(request_queue_t *);
extern long blk_congestion_wait(int rw, long timeout);
+extern struct blk_queue_tag *blk_init_tags(int);
+extern void blk_free_tags(struct blk_queue_tag *);
extern void blk_rq_bio_prep(request_queue_t *, struct request *, struct bio *);
extern int blkdev_issue_flush(struct block_device *, sector_t *);
OpenPOWER on IntegriCloud