diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-19 07:27:25 +0100 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-02-21 11:36:54 +0530 |
commit | e97d70a57370817af59bb83f4219cd8aa63b81ed (patch) | |
tree | e31c05da1bf00c2e912e6ff1672141b5e401fdc4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fd2634e2dd4539f96ab9e037f62ad2828f7a15eb (diff) |
xfs: use shmem_get_folio in in xfile_load
Switch to using shmem_get_folio in xfile_load instead of using
shmem_read_mapping_page_gfp. This gets us support for large folios
and also optimized reading from unallocated space, as
shmem_get_folio with SGP_READ won't allocate a page for them just
to zero the content.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions