The difference of request dir between AS and Deadline I/O scheduler?

谢纲
2009-03-02T05:07:13Z

Hi,

I'm little confused about the defination of request dir in AS and
Deadline I/O scheduler.
In AS, the request dir is defined by wheher it's sync:

data_dir = rq_is_sync(rq);

But in Deadline, the requests are grouped by read and write.

Why is there the difference since AS is an extension of Deadline?
what's the consideration?

Thanks,

--
Xie Gang