diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-27 15:35:00 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-03-03 08:17:07 -0700 |
commit | 2e2383405824b9f94299f6cb29e53a11f8020b8a (patch) | |
tree | 16375d249278c923876ac4397f6a41137a694491 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 058dd70c65ab736ab979df085b060c05a6cb3bd9 (diff) |
xfs: implement direct writes to zoned RT devices
Direct writes to zoned RT devices are extremely simple. After taking the
block reservation before acquiring the iolock, the iomap direct I/O calls
into ->iomap_begin which will return a "fake" iomap for the entire
requested range. The actual block allocation is then done from the
submit_io handler using code shared with the buffered I/O path.
The iomap_dio_ops set the bio_set to the (iomap) ioend one and initialize
the embedded ioend, which allows reusing the existing ioend based buffered
I/O completion path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions