Interesting. Thanks.
One _could_ make the first readahead page non-READA, and then
make the rest READA. That way, all block-contiguous requests
will be merged, and any non-contiguous requests will be dropped on
the floor if the request queue is full. Which is probably what
we want to happen anyway.
Of course the alternative is to slot a little bmap() call into
the readhead logic :)
> Please make sure to extensively test the propagation of READA through the
> pagecache when you do so...
Extensivelytest is my middle name.
-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/