OSDN Git Service

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)
commitf990fc5ad13b8fecdf154f36c252d49d7e9bdfab
treea54d3b875fd8058712015f35e6c64ccaa10c033c
parent3398a4005f0c8ced67a9071475562d435d88b7a6
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