diff options
| author | 2022-02-05 09:04:43 -0800 | |
|---|---|---|
| committer | 2022-02-05 09:04:43 -0800 | |
| commit | 524446e2179855534b425647dfc250757905aad8 (patch) | |
| tree | 6e2c3237389b856c49e28c8394c97d6206158bbd /include/linux | |
| parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (diff) | |
| parent | xfs, iomap: limit individual ioend chain lengths in writeback (diff) | |
| download | linux-dev-524446e2179855534b425647dfc250757905aad8.tar.xz linux-dev-524446e2179855534b425647dfc250757905aad8.zip | |
Merge tag 'iomap-5.17-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull iomap fix from Darrick Wong:
"A single bugfix for iomap.
The fix should eliminate occasional complaints about stall warnings
when a lot of writeback IO completes all at once and we have to then
go clearing status on a large number of folios.
Summary:
- Limit the length of ioend chains in writeback so that we don't trip
the softlockup watchdog and to limit long tail latency on clearing
PageWriteback"
* tag 'iomap-5.17-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
xfs, iomap: limit individual ioend chain lengths in writeback
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iomap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h index b55bd49e55f5..97a3a2edb585 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -263,9 +263,11 @@ struct iomap_ioend { struct list_head io_list; /* next ioend in chain */ u16 io_type; u16 io_flags; /* IOMAP_F_* */ + u32 io_folios; /* folios added to ioend */ struct inode *io_inode; /* file being written to */ size_t io_size; /* size of the extent */ loff_t io_offset; /* offset in the file */ + sector_t io_sector; /* start sector of ioend */ struct bio *io_bio; /* bio being built */ struct bio io_inline_bio; /* MUST BE LAST! */ }; |
