1. 20 10月, 2021 17 次提交
  2. 19 10月, 2021 22 次提交
  3. 18 10月, 2021 1 次提交
    • J
      block: store elevator state in request · 2ff0682d
      Jens Axboe 提交于
      Add an rq private RQF_ELV flag, which tells the block layer that this
      request was initialized on a queue that has an IO scheduler attached.
      This allows for faster checking in the fast path, rather than having to
      deference rq->q later on.
      
      Elevator switching does full quiesce of the queue before detaching an
      IO scheduler, so it's safe to cache this in the request itself.
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      2ff0682d