1. 07 6月, 2021 5 次提交
  2. 01 6月, 2021 5 次提交
  3. 09 4月, 2021 1 次提交
  4. 27 2月, 2021 1 次提交
  5. 23 1月, 2021 2 次提交
    • B
      xfs: don't drain buffer lru on freeze and read-only remount · 8321ddb2
      Brian Foster 提交于
      xfs_buftarg_drain() is called from xfs_log_quiesce() to ensure the
      buffer cache is reclaimed during unmount. xfs_log_quiesce() is also
      called from xfs_quiesce_attr(), however, which means that cache
      state is completely drained for filesystem freeze and read-only
      remount. While technically harmless, this is unnecessarily
      heavyweight. Both freeze and read-only mounts allow reads and thus
      allow population of the buffer cache. Therefore, the transitional
      sequence in either case really only needs to quiesce outstanding
      writes to return the filesystem in a generally read-only state.
      
      Additionally, some users have reported that attempts to freeze a
      filesystem concurrent with a read-heavy workload causes the freeze
      process to stall for a significant amount of time. This occurs
      because, as mentioned above, the read workload repopulates the
      buffer LRU while the freeze task attempts to drain it.
      
      To improve this situation, replace the drain in xfs_log_quiesce()
      with a buffer I/O quiesce and lift the drain into the unmount path.
      This removes buffer LRU reclaim from freeze and read-only [re]mount,
      but ensures the LRU is still drained before the filesystem unmounts.
      Signed-off-by: NBrian Foster <bfoster@redhat.com>
      Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
      Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
      8321ddb2
    • B
      xfs: rename xfs_wait_buftarg() to xfs_buftarg_drain() · 10fb9ac1
      Brian Foster 提交于
      xfs_wait_buftarg() is vaguely named and somewhat overloaded. Its
      primary purpose is to reclaim all buffers from the provided buffer
      target LRU. In preparation to refactor xfs_wait_buftarg() into
      serialization and LRU draining components, rename the function and
      associated helpers to something more descriptive. This patch has no
      functional changes with the minor exception of renaming a
      tracepoint.
      Signed-off-by: NBrian Foster <bfoster@redhat.com>
      Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
      Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
      10fb9ac1
  6. 17 12月, 2020 1 次提交
  7. 16 9月, 2020 11 次提交
  8. 29 7月, 2020 1 次提交
  9. 07 7月, 2020 4 次提交
  10. 03 6月, 2020 1 次提交
    • C
      mm: remove the prot argument from vm_map_ram · d4efd79a
      Christoph Hellwig 提交于
      This is always PAGE_KERNEL - for long term mappings with other properties
      vmap should be used.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Christophe Leroy <christophe.leroy@c-s.fr>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Gao Xiang <xiang@kernel.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Haiyang Zhang <haiyangz@microsoft.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: "K. Y. Srinivasan" <kys@microsoft.com>
      Cc: Laura Abbott <labbott@redhat.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Michael Kelley <mikelley@microsoft.com>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Nitin Gupta <ngupta@vflare.org>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
      Cc: Stephen Hemminger <sthemmin@microsoft.com>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Wei Liu <wei.liu@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Paul Mackerras <paulus@ozlabs.org>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Cc: Will Deacon <will@kernel.org>
      Link: http://lkml.kernel.org/r/20200414131348.444715-19-hch@lst.deSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d4efd79a
  11. 08 5月, 2020 1 次提交
  12. 07 5月, 2020 5 次提交
  13. 27 3月, 2020 1 次提交
  14. 12 3月, 2020 1 次提交