History

io context sharing: preliminary support

Detach task state from ioc, instead keep track of how many processes are accessing the ioc.

Jens Axboe committed 18 years ago

Commit d38ecf91 parent fd0928d5 files · +49 −23Browse files

Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all

Unified · Split

include/linux/blkdev.h+1−1
@@ -34,7 +34,7 @@ struct sg_io_hdr; · 33 unmodified lines
34#define BLKDEV_MIN_RQ 434#define BLKDEV_MIN_RQ 4
35#define BLKDEV_MAX_RQ 128 /* Default maximum */35#define BLKDEV_MAX_RQ 128 /* Default maximum */
36 36
37void put_io_context(struct io_context *ioc);37int put_io_context(struct io_context *ioc);
38void exit_io_context(void);38void exit_io_context(void);
39struct io_context *get_io_context(gfp_t gfp_flags, int node);39struct io_context *get_io_context(gfp_t gfp_flags, int node);
40struct io_context *alloc_io_context(gfp_t gfp_flags, int node);40struct io_context *alloc_io_context(gfp_t gfp_flags, int node);