public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Log and transaction cleanups, factoring and bug fixes
@ 2010-03-06  1:51 Dave Chinner
  2010-03-06  1:51 ` [PATCH 1/9] xfs: factor log item initialisation Dave Chinner
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: Dave Chinner @ 2010-03-06  1:51 UTC (permalink / raw)
  To: xfs

The following series is preparation for delayed logging patches. The cleanups
and factoring patches are mainly to make it simple to introduce the delayed
logging patches, especially as these changes really have nothing to do with
delayed logging. The cleanups and factoring patches should be no-ops from a
functionality point of view.

A couple of the patches are fixes for bugs that I've found as I've been working
through delayed logging prototypes.

The final two patches introduce a new log vector structure and factor
xlog_write(). This is probably the most complex of the changes - it should be a
no-op - so needs the most scrutiny. It's also one of the first changes I made -
it's been running through QA for the past month and a half so I think it is
all OK. I certainly found the factored code far easier to work with when it
came to debugging problems...

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCH 0/9] Log and transaction cleanups, factoring and bug fixes V2
@ 2010-03-15  2:34 Dave Chinner
  2010-03-15  2:35 ` [PATCH 4/9] xfs: fix reservation release commit flag in xfs_bmap_add_attrfork() Dave Chinner
  0 siblings, 1 reply; 28+ messages in thread
From: Dave Chinner @ 2010-03-15  2:34 UTC (permalink / raw)
  To: xfs

The following series is preparation for delayed logging patches. The cleanups
and factoring patches are mainly to make it simple to introduce the delayed
logging patches, especially as these changes really have nothing to do with
delayed logging. The cleanups and factoring patches should be no-ops from a
functionality point of view.

A couple of the patches are fixes for bugs that I've found as I've been working
through delayed logging prototypes.

Patches 8 (reservation bug fix) and 9 (new cleanup) of the series still
require review.

Version 2:
- drop log vector changes from the series
- fix bogus assert in xfs_trans_committed() changes
- Added Christoph's _xfs_trans_commit() cleanup patch
- Added further cleanup of the xfs_trans_committed() code as suggested by
  Christoph.


These changes are also available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfs.git trans-cleanup

Christoph Hellwig (1):
      xfs: clean up xfs_trans_commit logic even more

Dave Chinner (8):
      xfs: factor log item initialisation
      xfs: Add inode pin counts to traces
      xfs: remove stale parameter from ->iop_unpin method
      xfs: fix reservation release commit flag in xfs_bmap_add_attrfork()
      xfs: split out iclog writing from xfs_trans_commit()
      xfs: update and factor xfs_trans_committed()
      xfs: Clean up xfs_trans_committed code after factoring
      xfs: log ticket reservation underestimates the number of iclogs

 fs/xfs/linux-2.6/xfs_trace.h  |    9 +-
 fs/xfs/quota/xfs_dquot_item.c |   28 +-
 fs/xfs/xfs_bmap.c             |    2 +-
 fs/xfs/xfs_buf_item.c         |   55 ++--
 fs/xfs/xfs_extfree_item.c     |   18 +-
 fs/xfs/xfs_inode.c            |    2 +
 fs/xfs/xfs_inode_item.c       |   21 +-
 fs/xfs/xfs_log.c              |   68 +++-
 fs/xfs/xfs_log.h              |    7 +
 fs/xfs/xfs_trans.c            |  760 +++++++++++++++++++----------------------
 fs/xfs/xfs_trans.h            |    5 +-
 fs/xfs/xfs_trans_buf.c        |    3 +-
 12 files changed, 481 insertions(+), 497 deletions(-)

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2010-03-15  2:33 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06  1:51 [PATCH 0/9] Log and transaction cleanups, factoring and bug fixes Dave Chinner
2010-03-06  1:51 ` [PATCH 1/9] xfs: factor log item initialisation Dave Chinner
2010-03-06 10:51   ` Christoph Hellwig
2010-03-06  1:51 ` [PATCH 2/9] xfs: Add inode pin counts to traces Dave Chinner
2010-03-06 10:51   ` Christoph Hellwig
2010-03-06  1:51 ` [PATCH 3/9] xfs: remove stale parameter from ->iop_unpin method Dave Chinner
2010-03-06 10:55   ` Christoph Hellwig
2010-03-06  1:51 ` [PATCH 4/9] xfs: fix reservation release commit flag in xfs_bmap_add_attrfork() Dave Chinner
2010-03-06 10:52   ` Christoph Hellwig
2010-03-06  1:51 ` [PATCH 5/9] xfs: split out iclog writing from xfs_trans_commit() Dave Chinner
2010-03-06 11:08   ` Christoph Hellwig
2010-03-06 11:57     ` Dave Chinner
2010-03-06  1:51 ` [PATCH 6/9] xfs: update and factor xfs_trans_committed() Dave Chinner
2010-03-06 11:24   ` Christoph Hellwig
2010-03-06 12:01     ` Dave Chinner
2010-03-06  1:51 ` [PATCH 7/9] xfs: log ticket reservation underestimates the number of iclogs Dave Chinner
2010-03-15  2:13   ` Dave Chinner
2010-03-06  1:51 ` [PATCH 8/9] xfs: introduce new internal log vector structure Dave Chinner
2010-03-06 11:31   ` Christoph Hellwig
2010-03-06 12:06     ` Dave Chinner
2010-03-06 15:46   ` Christoph Hellwig
2010-03-08  1:16     ` Dave Chinner
2010-03-06  1:51 ` [PATCH 9/9] xfs: factor xlog_write and make use of new " Dave Chinner
2010-03-06 15:48   ` Christoph Hellwig
2010-03-06 10:56 ` [PATCH 0/9] Log and transaction cleanups, factoring and bug fixes Christoph Hellwig
2010-03-09 11:39 ` Christoph Hellwig
2010-03-09 11:48   ` Dave Chinner
  -- strict thread matches above, loose matches on Subject: below --
2010-03-15  2:34 [PATCH 0/9] Log and transaction cleanups, factoring and bug fixes V2 Dave Chinner
2010-03-15  2:35 ` [PATCH 4/9] xfs: fix reservation release commit flag in xfs_bmap_add_attrfork() Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox