iomapRegular
4.4: ✅struct iomap {
sector_t blkno;
loff_t offset;
u64 length;
int type;
};
4.8: ✅struct iomap {
sector_t blkno;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
};
4.10: ✅struct iomap {
sector_t blkno;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
};
4.13: ✅struct iomap {
sector_t blkno;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
};
4.15: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
};
4.18: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
};
5.0: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
void (*page_done)(struct inode *, loff_t, unsigned int, struct page *, struct iomap *);
};
5.3: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
5.4: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
5.8: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
5.11: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
5.13: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
5.15: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
5.19: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
6.2: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
u64 validity_cookie;
};
6.5: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_folio_ops *folio_ops;
u64 validity_cookie;
};
6.8: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_folio_ops *folio_ops;
u64 validity_cookie;
};
arm64: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
armhf: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
ppc64el: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
riscv64: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
aws: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
azure: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
gcp: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
lowlatency: ✅struct iomap {
u64 addr;
loff_t offset;
u64 length;
u16 type;
u16 flags;
struct block_device *bdev;
struct dax_device *dax_dev;
void *inline_data;
void *private;
const struct iomap_page_ops *page_ops;
};
Regular
4.4 and 4.8 ⚠️u16 flags
struct block_device *bdev
int type ➡️ u16 type
4.8 and 4.10 ✅
4.10 and 4.13 ⚠️struct dax_device *dax_dev
4.13 and 4.15 ⚠️u64 addr
sector_t blkno
4.15 and 4.18 ✅
4.18 and 5.0 ⚠️void *inline_data
void *private
void (*page_done)(struct inode *, loff_t, unsigned int, struct page *, struct iomap *)
5.0 and 5.3 ⚠️const struct iomap_page_ops *page_ops
void (*page_done)(struct inode *, loff_t, unsigned int, struct page *, struct iomap *)
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ⚠️u64 validity_cookie
6.2 and 6.5 ⚠️const struct iomap_folio_ops *folio_ops
const struct iomap_page_ops *page_ops
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅