summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorViacheslav Dubeyko <slava@dubeyko.com>2026-08-12 15:11:53 -0700
committerViacheslav Dubeyko <slava@dubeyko.com>2026-09-21 11:40:24 -0700
commit89eebc9b5f476f47a03a2313f8f21b222e0208fe (patch)
treeb2cf7bde941cd64baa51da3c91993a868a0a9b98 /tools/perf/scripts/python/stackcollapse.py
parent8393ce53a5497552320a34794549c18503dd491b (diff)
downloadlinux-89eebc9b5f476f47a03a2313f8f21b222e0208fe.tar.gz
linux-89eebc9b5f476f47a03a2313f8f21b222e0208fe.zip
nilfs2: add iomap operations for direct I/O
The patch adds iomap.h with declaration of iomaps operations and iomap.c with implementation of nilfs_iomap_begin(). This method is based on calling the nilfs_bmap_lookup_contig() method. It resolves the file's block-mapping to find the sequence of physically-contiguous blocks starting at starting block. Offsets at or beyond i_size are reported as a hole. For offsets within i_size, the requested length is first clamped to the block-aligned end of the file. Both the hole and mapped cases then report iomap->offset aligned to the containing block (blkoff << i_blkbits) rather than the raw request offset. Co-developed-by: Linmao Li <lilinmao@kylinos.cn> Signed-off-by: Linmao Li <lilinmao@kylinos.cn> cc: Christoph Hellwig <hch@lst.de> cc: Ryusuke Konishi <konishi.ryusuke@gmail.com> cc: linux-nilfs@vger.kernel.org cc: linux-fsdevel@vger.kernel.org Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions