Skip to contentSkip to conversation

xfsprogs: sync libxfs/xfs_trans.c to the kernel code changes

PATCH New Jeff Liu 1 participant 1 message Dec 7, 2012

lore
Share & tools
lore

Jeff Liu

author
#0 lore raw

PATCH 1/2 xfsprogs: sync libxfs/xfs_trans.c to the kernel code changes

Sync libxfs/xfs_trans.c to the kernel code change of replacing the hard-coding number "128" with xfs_buf_log_overhead().

Cc Dave Chinner <[email protected]>
---
 include/xfs_trans.h |    1 +
 libxfs/xfs_trans.c  |  113 +++++++++++++++++++++++++++++++++------------------
 2 files changed, 75 insertions(+), 39 deletions(-)
include/xfs_trans.h +1 -0
index c2042b7..ae6e47e 100644
@@ -504,5 +504,6 @@ extern kmem_zone_t	*xfs_log_item_desc_zone;
 
 void		xfs_trans_init(struct xfs_mount *);
 int		xfs_trans_roll(struct xfs_trans **, struct xfs_inode *);
+uint		xfs_buf_log_overhead(void);
 
 #endif	/* __XFS_TRANS_H__ */
libxfs/xfs_trans.c +74 -39

271 lines not on this page · raw message

Signature · 6 lines
1.7.9.5

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs