On Sun, 2 Apr 2000, Andrew Morton wrote:
>Should this also be applied to 2.2.15?
Not mandatory. It's not a must to set nr_segments to zero (also in 2.3.x).
But the elevator debugging code to better check that none regular request
can sit on the queue with req->q == NULL also assumes special requests
(with req->q = NULL) have to have nr_segments zero (and this also make
sense). Performance of setting nr_segments to zero in such path isn't an
issue.
An alternate fix would been to remove the debugging check.
Andrea