On Tue, Sep 19 2000, Rik van Riel wrote: > This is a bug in Andrea's idea. The request should only > be inserted at the end of the list if: > > 1) the block numbre is bigger than head->prev (which you > already have) Of course. > 2) the block number is smaller than head (or head->next > if the current request is unplugged) Not necessarily, that's what we have the sequencing numbers for. It still allows sorting, as long as we are allowed to pass the request. And note that it is only head->next when the queue is unplugged with an active head. -- * Jens Axboe <[EMAIL PROTECTED]> * SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: (reiserfs) Re: An elevator algo... Jens Axboe
- Re: (reiserfs) Re: An elevator algo... Andrea Arcangeli
- Re: (reiserfs) Re: An elevator algo... Jens Axboe
- Re: (reiserfs) Re: An elevator algo... Andrea Arcangeli
- Re: (reiserfs) Re: An elevator algo... Jens Axboe
- Re: (reiserfs) Re: An elevator algo... Andrea Arcangeli
- Re: (reiserfs) Re: An elevator algo... Jens Axboe
- Re: An elevator algorithm Peter Osterlund
- Re: An elevator algorithm Andrea Arcangeli
- Re: An elevator algorithm (patch) Andrea Arcangeli
- Re: An elevator algorithm (patch) Jens Axboe
- Re: An elevator algorithm (patch) Marcelo Tosatti
- Re: An elevator algorithm (patch) Andrea Arcangeli
- Re: An elevator algorithm (patch) Peter Osterlund
- Re: An elevator algorithm (patch) Andrea Arcangeli
- Re: (reiserfs) Re: An elevator algorithm Hans Reiser
- Re: (reiserfs) Re: An elevator algorithm Xuan Baldauf
- Re: (reiserfs) Re: An elevator algorithm Ragnar Kjørstad
- Re: (reiserfs) Re: An elevator algorithm Hans Reiser