| commit | f401306d72f2cffa9837b7d194c8e528be5e63b2 | [log] [tgz] |
|---|---|---|
| author | Christoph Hellwig <hch@lst.de> | Wed Nov 12 13:14:26 2025 +0100 |
| committer | Carlos Maiolino <cem@kernel.org> | Wed Dec 17 10:36:30 2025 +0100 |
| tree | cf03d8fc1dabff45125a05daeece47b148a6ac65 | |
| parent | f1e948b51c93e04075fbd5e34747245dd5f0235b [diff] |
xfs: factor out a xlog_write_space_advance helper Add a new xlog_write_space_advance that returns the current place in the iclog that data is written to, and advances the various counters by the amount taken from xlog_write_iovec, and also use it xlog_write_partial, which open codes the counter adjustments, but misses the asserts. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>