1. 14 3月, 2019 5 次提交
  2. 13 3月, 2019 3 次提交
  3. 07 3月, 2019 1 次提交
    • J
      pblk: fix max_io calculation · 9205e449
      Javier González 提交于
      When calculating the maximun I/O size allowed into the buffer, consider
      the write size (ws_opt) used by the write thread in order to cover the
      case in which, due to flushes, the mem and subm pointers are disaligned
      by (ws_opt - 1). This case currently translates into a stall when
      an I/O of the largest possible size is submitted.
      
      Fixes: f9f9d1ae2c66 ("lightnvm: pblk: prevent stall due to wb threshold")
      Signed-off-by: NJavier González <javier@javigon.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      9205e449
  4. 01 3月, 2019 3 次提交
  5. 24 2月, 2019 1 次提交
    • D
      xen/blkback: rework connect_ring() to avoid inconsistent xenstore... · 4a8c31a1
      Dongli Zhang 提交于
      xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront
      
      The xenstore 'ring-page-order' is used globally for each blkback queue and
      therefore should be read from xenstore only once. However, it is obtained
      in read_per_ring_refs() which might be called multiple times during the
      initialization of each blkback queue.
      
      If the blkfront is malicious and the 'ring-page-order' is set in different
      value by blkfront every time before blkback reads it, this may end up at
      the "WARN_ON(i != (XEN_BLKIF_REQS_PER_PAGE * blkif->nr_ring_pages));" in
      xen_blkif_disconnect() when frontend is destroyed.
      
      This patch reworks connect_ring() to read xenstore 'ring-page-order' only
      once.
      Signed-off-by: NDongli Zhang <dongli.zhang@oracle.com>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      4a8c31a1
  6. 23 2月, 2019 2 次提交
  7. 21 2月, 2019 1 次提交
  8. 20 2月, 2019 19 次提交
  9. 15 2月, 2019 5 次提交