Jan I am attaching a final CSCAN scheduler patch for the 2.6.16.2 kernel. The earlier patch that I had posted had a bug in the "cscan_merged_requests" function. This has been taken care of in the attached patch. I would really appreciate if some one could help me in conducting performance tests for the attached patch. Many thanks for to all of you all for your inputs on this. - Vishal On 4/11/06, Jan Engelhardt <[email protected]> wrote: > >> >I am attaching the CSCAN scheduler patch for 2.6.16.2 kernel. > >> > >> Thanks, I will try this. > >> > >> I have a question, why does not it use the kernel's rbtree implementation? > > > >It does, I dunno why you think it doesn't? > > My bad. I thought because a function is named > static struct cscan_request *__rb_insert_request > led me to believe this is the main insert function (when in fact it > rb_link_node is). Maybe it should be just > called "insert_request". > > > -- Every passing minute is another chance to turn it all around.
Attachment:
cscan-2.6.16.2-patch
Description: Binary data
- Follow-Ups:
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: Jan Engelhardt <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- References:
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: Bill Davidsen <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: "Vishal Patil" <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: "Antonio Vargas" <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: "Vishal Patil" <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: "Vishal Patil" <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: Jan Engelhardt <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: Jens Axboe <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- From: Jan Engelhardt <[email protected]>
- Re: CSCAN I/O scheduler for 2.6.10 kernel
- Prev by Date: Re: [PATCH 0/7] [RFC] Sizing zones and holes in an architecture independent manner V2
- Next by Date: Re: [PATCH 0/7] [RFC] Sizing zones and holes in an architecture independent manner V2
- Previous by thread: Re: CSCAN I/O scheduler for 2.6.10 kernel
- Next by thread: Re: CSCAN I/O scheduler for 2.6.10 kernel
- Index(es):