summaryrefslogtreecommitdiff
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-09-15 10:41:59 +0100
committerJens Axboe <axboe@kernel.dk>2022-09-20 08:24:38 -0600
commit99486c511f686c799bb4e60b79d79808bb9440f4 (patch)
treef49417e82714cc4c51e9aa8597a967e0ca627cd9 /fs/direct-io.c
parent4088a47e78f95a5fea683cf67e0be006b13831fd (diff)
erofs: add manual PSI accounting for the compressed address space
erofs uses an additional address space for compressed data read from disk in addition to the one directly associated with the inode. Reading into the lower address space is open coded using add_to_page_cache_lru instead of using the filemap.c helper for page allocation micro-optimizations, which means it is not covered by the MM PSI annotations for ->read_folio and ->readahead, so add manual ones instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20220915094200.139713-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions