fix one more set of transaction callback ordering issues,
this was always there, but exposed by the last change in
this area and made much more likely.
Date: Thu Feb 13 09:41:15 PST 2003
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
Inspected by: lord@xxxxxxx
Author: overby
Merged by: lord
Merged mods: irix6.5f:irix:139655a
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:139655a
linux/fs/xfs/xfs_log.h - 1.64
- Merge of irix6.5f:irix:139655a by lord.
Add a prototype for xfs_log_release_iclog.
linux/fs/xfs/xfs_log.c - 1.264
- Merge of irix6.5f:irix:139655a by lord.
Remove the releasing of the iclog from xfs_log_notify (except when
aborting).
The release will be done later by xfs_trans_commit.
xfs_log_release_iclog is called by xfs_trans_commit to release
iclogs. This
is so that log-private types don't need to be included outside of
xfs_log.
linux/fs/xfs/xfs_trans.c - 1.140
- Merge of irix6.5f:irix:139655a by lord.
in xfs_trans_commit, eliminate a race betweeen unlocking items and
adding the
transaction to the iclog's callback by adding the callbacks before
unlocking
the items. The reference to the iclog acquired in xfs_log_done is
held until
after the unlocks are done.
|