Re: [PATCH -mm] [2/2] Add the Elevator I/O scheduler

Daniel Phillips
2006-08-04T01:31:22Z

Dave Jones wrote:
> > +#define ops_count(el, req) ((el)->ops[req->flags & REQ_RW ? 1 : 0])
> > +#define sec_count(el, req) ((el)->sec[req->flags & REQ_RW ? 1 : 0])
> > +#define sweep_latency(el, req) ((el)->sweep_latency[(req)->flags &
> > REQ_RW ? 1 : 0])
>
> You like your macros huh ? :)

That is, can they please be inline functions.

Regards,

Daniel