xfs_mount.h | xfs_mount.h | |||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
uint tr_symlink; /* symlink trans */ | uint tr_symlink; /* symlink trans */ | |||
uint tr_create; /* create trans */ | uint tr_create; /* create trans */ | |||
uint tr_mkdir; /* mkdir trans */ | uint tr_mkdir; /* mkdir trans */ | |||
uint tr_ifree; /* inode free trans */ | uint tr_ifree; /* inode free trans */ | |||
uint tr_ichange; /* inode update trans */ | uint tr_ichange; /* inode update trans */ | |||
uint tr_growdata; /* fs data section grow trans */ | uint tr_growdata; /* fs data section grow trans */ | |||
uint tr_swrite; /* sync write inode trans */ | uint tr_swrite; /* sync write inode trans */ | |||
uint tr_addafork; /* cvt inode to attributed trans */ | uint tr_addafork; /* cvt inode to attributed trans */ | |||
uint tr_writeid; /* write setuid/setgid file */ | uint tr_writeid; /* write setuid/setgid file */ | |||
uint tr_attrinval; /* attr fork buffer invalidation */ | uint tr_attrinval; /* attr fork buffer invalidation */ | |||
uint tr_attrset; /* set/create an attribute */ | uint tr_attrsetm; /* set/create an attribute at mount time */ | |||
uint tr_attrsetrt; /* set/create an attribute at runtime */ | ||||
uint tr_attrrm; /* remove an attribute */ | uint tr_attrrm; /* remove an attribute */ | |||
uint tr_clearagi; /* clear bad agi unlinked ino bucket */ | uint tr_clearagi; /* clear bad agi unlinked ino bucket */ | |||
uint tr_growrtalloc; /* grow realtime allocations */ | uint tr_growrtalloc; /* grow realtime allocations */ | |||
uint tr_growrtzero; /* grow realtime zeroing */ | uint tr_growrtzero; /* grow realtime zeroing */ | |||
uint tr_growrtfree; /* grow realtime freeing */ | uint tr_growrtfree; /* grow realtime freeing */ | |||
} xfs_trans_reservations_t; | } xfs_trans_reservations_t; | |||
#ifndef __KERNEL__ | #ifndef __KERNEL__ | |||
#define xfs_daddr_to_agno(mp,d) \ | #define xfs_daddr_to_agno(mp,d) \ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
xfs_trans.h | xfs_trans.h | |||
---|---|---|---|---|
skipping to change at line 255 | skipping to change at line 255 | |||
#define XFS_GROWRTFREE_LOG_RES(mp) ((mp)->m_reservations.tr_gro wrtfree) | #define XFS_GROWRTFREE_LOG_RES(mp) ((mp)->m_reservations.tr_gro wrtfree) | |||
#define XFS_SWRITE_LOG_RES(mp) ((mp)->m_reservations.tr_swrite) | #define XFS_SWRITE_LOG_RES(mp) ((mp)->m_reservations.tr_swrite) | |||
/* | /* | |||
* Logging the inode timestamps on an fsync -- same as SWRITE | * Logging the inode timestamps on an fsync -- same as SWRITE | |||
* as long as SWRITE logs the entire inode core | * as long as SWRITE logs the entire inode core | |||
*/ | */ | |||
#define XFS_FSYNC_TS_LOG_RES(mp) ((mp)->m_reservations.tr_swrite) | #define XFS_FSYNC_TS_LOG_RES(mp) ((mp)->m_reservations.tr_swrite) | |||
#define XFS_WRITEID_LOG_RES(mp) ((mp)->m_reservations.tr_swrite) | #define XFS_WRITEID_LOG_RES(mp) ((mp)->m_reservations.tr_swrite) | |||
#define XFS_ADDAFORK_LOG_RES(mp) ((mp)->m_reservations.tr_add afork) | #define XFS_ADDAFORK_LOG_RES(mp) ((mp)->m_reservations.tr_add afork) | |||
#define XFS_ATTRINVAL_LOG_RES(mp) ((mp)->m_reservations.tr_att rinval) | #define XFS_ATTRINVAL_LOG_RES(mp) ((mp)->m_reservations.tr_att rinval) | |||
#define XFS_ATTRSET_LOG_RES(mp, ext) \ | #define XFS_ATTRSETM_LOG_RES(mp) ((mp)->m_reservations.tr_att | |||
((mp)->m_reservations.tr_attrset + \ | rsetm) | |||
(ext * (mp)->m_sb.sb_sectsize) + \ | #define XFS_ATTRSETRT_LOG_RES(mp) ((mp)->m_reservations.tr_att | |||
(ext * XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK))) + \ | rsetrt) | |||
(128 * (ext + (ext * XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK))))) | #define XFS_ATTRRM_LOG_RES(mp) ((mp)->m_reservations.tr_att | |||
#define XFS_ATTRRM_LOG_RES(mp) ((mp)->m_reservations.tr_attrrm) | rrm) | |||
#define XFS_CLEAR_AGI_BUCKET_LOG_RES(mp) ((mp)->m_reservations.tr_c learagi) | #define XFS_CLEAR_AGI_BUCKET_LOG_RES(mp) ((mp)->m_reservations.tr_c learagi) | |||
/* | /* | |||
* Various log count values. | * Various log count values. | |||
*/ | */ | |||
#define XFS_DEFAULT_LOG_COUNT 1 | #define XFS_DEFAULT_LOG_COUNT 1 | |||
#define XFS_DEFAULT_PERM_LOG_COUNT 2 | #define XFS_DEFAULT_PERM_LOG_COUNT 2 | |||
#define XFS_ITRUNCATE_LOG_COUNT 2 | #define XFS_ITRUNCATE_LOG_COUNT 2 | |||
#define XFS_INACTIVE_LOG_COUNT 2 | #define XFS_INACTIVE_LOG_COUNT 2 | |||
#define XFS_CREATE_LOG_COUNT 2 | #define XFS_CREATE_LOG_COUNT 2 | |||
End of changes. 1 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||