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
3434 #define BLKDEV_MIN_RQ 4
3535 #define BLKDEV_MAX_RQ 128 /* Default maximum */
3636
37−void put_io_context(struct io_context *ioc);
37+int put_io_context(struct io_context *ioc);
3838 void exit_io_context(void);
3939 struct io_context *get_io_context(gfp_t gfp_flags, int node);
4040 struct io_context *alloc_io_context(gfp_t gfp_flags, int node);