MAEDA Naoaki wrote:
Hi Shailabh,
Shailabh Nagar wrote:
Index: 2612-io/include/linux/blkdev.h
===================================================================
--- 2612-io.orig/include/linux/blkdev.h 2005-06-17
15:48:29.000000000 -0400
+++ 2612-io/include/linux/blkdev.h 2005-07-01 15:16:30.320332592 -0400
@@ -66,6 +66,20 @@ struct cfq_io_context {
struct cfq_queue *cfqq;
};
+struct ps_queue;
+struct ps_io_context {
+ void (*dtor)(struct ps_io_context *);
+ void (*exit)(struct ps_io_context *);
+
+ struct io_context *ioc;
+
+ /*
+ * circular list of ps_io_contexts belonging to a process io context
+ */
+ struct list_head list;
+ struct ps_queue *psq;
+};
+
/*
* This is the per-process I/O subsystem state. It is refcounted and
* kmalloc'ed. Currently all fields are modified in process io context
@@ -85,6 +99,7 @@ struct io_context {
struct as_io_context *aic;
struct cfq_io_context *cic;
+ struct ps_io_context *pic;
};
I couln't find any code initializing the pic member for newly
allocated io_context.
It should be initialized in get_io_context(), shouldn't it?
Yes again. And request for a patch again !
Thanks,
Shailabh
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech