diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-04-21 10:36:05 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-04-21 10:36:05 +1000 |
commit | db357078b0423e0a86a633780cbca3f01c54885d (patch) | |
tree | 1bc14f484d2b159fac2c66b6481c26a888202ce3 /fs/xfs/xfs_log_priv.h | |
parent | decb545fc081a1f03d4216831afb82482e8b6342 (diff) | |
download | linux-db357078b0423e0a86a633780cbca3f01c54885d.tar.gz linux-db357078b0423e0a86a633780cbca3f01c54885d.tar.bz2 linux-db357078b0423e0a86a633780cbca3f01c54885d.zip |
xfs: introduce xlog_write_full()
Introduce an optimised version of xlog_write() that is used when the
entire write will fit in a single iclog. This greatly simplifies the
implementation of writing a log vector chain into an iclog, and sets
the ground work for a much more understandable xlog_write()
implementation.
This incorporates some factoring and simplifications proposed by
Christoph Hellwig.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
0 files changed, 0 insertions, 0 deletions