]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove lsn relevant fields from xfs_trans structure and its users
authorShan Hai <shan.hai@oracle.com>
Thu, 15 Jun 2017 04:35:07 +0000 (21:35 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 19 Jun 2017 15:59:10 +0000 (08:59 -0700)
commit7f2f8a98e56014acc4aa3a83535d9c5a4742b16b
treea54d3b875fd8058712015f35e6c64ccaa10c033c
parentd7c35ded9343bbd95dd6da793942eec2e54b8032
xfs: remove lsn relevant fields from xfs_trans structure and its users

The t_lsn is not used anymore and the t_commit_lsn is used as a tmp
storage for the checkpoint sequence number only in the current code.

And the start/commit lsn are tracked as a transaction group tag in
the xfs_cil_ctx instead of a single transaction, so remove them from
the xfs_trans structure and their users to match with the design.

Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_trace.h
fs/xfs/xfs_trans.h