diff options
| author | Christoph Hellwig <hch@lst.de> | 2025-02-06 09:40:06 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-02-06 15:02:15 +0300 |
| commit | d06244c60aec1d5d1589efe6b611a5b91a49465c (patch) | |
| tree | 0e19ba5ecf6a523984f50f8bf50f85c8fd80e316 /include/linux | |
| parent | e523f2d4c974a819730830ce1c38834ee0cd7318 (diff) | |
| download | linux-d06244c60aec1d5d1589efe6b611a5b91a49465c.tar.xz | |
iomap: add a io_private field to struct iomap_ioend
Add a private data field to struct iomap_ioend so that the file system
can attach information to it. Zoned XFS will use this for a pointer to
the open zone.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250206064035.2323428-9-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iomap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h index 5768b9f2a1cc..b4be07e8ec94 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -370,6 +370,7 @@ struct iomap_ioend { struct iomap_ioend *io_parent; /* parent for completions */ loff_t io_offset; /* offset in the file */ sector_t io_sector; /* start sector of ioend */ + void *io_private; /* file system private data */ struct bio io_bio; /* MUST BE LAST! */ }; |
