1. 20 Sep, 2022 3 commits
    • Christoph Hellwig's avatar
      mm: add PSI accounting around ->read_folio and ->readahead calls · 17604240
      Christoph Hellwig authored
      PSI tries to account for the cost of bringing back in pages discarded by
      the MM LRU management.  Currently the prime place for that is hooked into
      the bio submission path, which is a rather bad place:
      
       - it does not actually account I/O for non-block file systems, of which
         we have many
       - it adds overhead and a layering violation to the block layer
      
      Add the accounting into the two places in the core MM code that read
      pages into an address space by calling into ->read_folio and ->readahead
      so that the entire file system operations are covered, to broaden
      the coverage and allow removing the accounting in the block layer going
      forward.
      
      As psi_memstall_enter can deal with nested calls this will not lead to
      double accounting even while the bio annotations are still present.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
      Link: https://lore.kernel.org/r/20220915094200.139713-2-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      17604240
    • Ping-Xiang Chen's avatar
      block: fix comment typo in submit_bio of block-core.c. · e8848087
      Ping-Xiang Chen authored
      This patch fix a comment typo in block-core.c.
      Signed-off-by: default avatarPing-Xiang Chen <p.x.chen@uci.edu>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Link: https://lore.kernel.org/r/20220914074237.31621-1-p.x.chen@uci.eduSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      e8848087
    • Jens Axboe's avatar
      Merge tag 'nvme-6.1-2022-09-20' of git://git.infradead.org/nvme into for-6.1/block · 77571ba6
      Jens Axboe authored
      Pull NVMe updates from Christoph:
      
      "nvme updates for Linux 6.1
      
       - handle number of queue changes in the TCP and RDMA drivers
         (Daniel Wagner)
       - allow changing the number of queues in nvmet (Daniel Wagner)
       - also consider host_iface when checking ip options (Daniel Wagner)
       - don't map pages which can't come from HIGHMEM (Fabio M. De Francesco)
       - avoid unnecessary flush bios in nvmet (Guixin Liu)
       - shrink and better pack the nvme_iod structure (Keith Busch)
       - add comment for unaligned "fake" nqn (Linjun Bao)
       - print actual source IP address through sysfs "address" attr
         (Martin Belanger)
       - various cleanups (Jackie Liu, Wolfram Sang, Genjian Zhang)"
      
      * tag 'nvme-6.1-2022-09-20' of git://git.infradead.org/nvme:
        nvme-tcp: print actual source IP address through sysfs "address" attr
        nvmet-tcp: don't map pages which can't come from HIGHMEM
        nvme-pci: move iod dma_len fill gaps
        nvme-pci: iod npages fits in s8
        nvme-pci: iod's 'aborted' is a bool
        nvme-pci: remove nvme_queue from nvme_iod
        nvme: consider also host_iface when checking ip options
        nvme-rdma: handle number of queue changes
        nvme-tcp: handle number of queue changes
        nvmet: expose max queues to configfs
        nvmet: avoid unnecessary flush bio
        nvmet-auth: remove redundant parameters req
        nvmet-auth: clean up with done_kfree
        nvme-auth: remove the redundant req->cqe->result.u16 assignment operation
        nvme: move from strlcpy with unused retval to strscpy
        nvme: add comment for unaligned "fake" nqn
      77571ba6
  2. 19 Sep, 2022 21 commits
  3. 12 Sep, 2022 9 commits
  4. 08 Sep, 2022 3 commits
  5. 05 Sep, 2022 4 commits