1. 04 4月, 2017 28 次提交
  2. 31 3月, 2017 3 次提交
  3. 30 3月, 2017 8 次提交
  4. 29 3月, 2017 1 次提交
    • O
      block: fix leak of q->rq_wb · 02ba8893
      Omar Sandoval 提交于
      CONFIG_DEBUG_TEST_DRIVER_REMOVE found a possible leak of q->rq_wb when a
      request queue is reregistered. This has been a problem since wbt was
      introduced, but the WARN_ON(!list_empty(&stats->callbacks)) in the
      blk-stat rework exposed it. Fix it by cleaning up wbt when we unregister
      the queue.
      
      Fixes: 87760e5e ("block: hook up writeback throttling")
      Signed-off-by: NOmar Sandoval <osandov@fb.com>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      02ba8893