[XFS updates] XFS development tree branch, for-next, updated. v3.8-rc1-32-ga21cd50

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".

The branch, for-next has been updated
  a21cd50 xfs: refactor space log reservation for XFS_TRANS_ATTR_SET
  762c585 xfs: make use of XFS_SB_LOG_RES() at xfs_fs_log_dummy()
  5166ab0 xfs: make use of XFS_SB_LOG_RES() at xfs_mount_log_sb()
  e457274 xfs: make use of XFS_SB_LOG_RES() at xfs_log_sbcount()
  a7bd794 xfs: introduce XFS_SB_LOG_RES() for transactions that modify sb on disk
  762d7ba xfs: calculate XFS_TRANS_QM_QUOTAOFF_END space log reservation at mount time
  a1bd955 xfs: calculate XFS_TRANS_QM_QUOTAOFF space log reservation at mount time
  4800104 xfs: calculate XFS_TRANS_QM_DQALLOC space log reservation at mount time
  f0f2df9 xfs: calcuate XFS_TRANS_QM_SETQLIM space log reservation at mount time
  f910a8c xfs: calculate xfs_qm_write_sb_changes() space log reservation at mount time
  b0c10b98 xfs: calculate XFS_TRANS_QM_SBCHANGE space log reservation at mount time
  5b292ae xfs: make use of xfs_calc_buf_res() in xfs_trans.c
  4f3b578 xfs: add a helper to figure out the space log reservation per item
      from  2729423cf2ef3ac51d040f24a5ddd84c1b2acc70 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a21cd503678286c56b1d0cca1c99349a4aa042f4
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:53 2013 +0800

    xfs: refactor space log reservation for XFS_TRANS_ATTR_SET
    
    Currently, we calculate the attribute set transaction
    log space reservation at runtime in two parts:
    
    1) XFS_ATTRSET_LOG_RES() which is calcuated out at mount time.
    
    2) ((ext * (mp)->m_sb.sb_sectsize) + \
        (ext * XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK))) + \
        (128 * (ext + (ext * XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK))))))
    which is calculated out at runtime since it depend on the given extent length in blocks.
    
    This patch renamed XFS_ATTRSET_LOG_RES(mp) to XFS_ATTRSETM_LOG_RES(mp) to indicate
    that it is figured out at mount time.  Introduce XFS_ATTRSETRT_LOG_RES(mp) which would
    be used to calculate out the unit of the log space reservation for one block.
    
    In this way, the total runtime space for the given extent length can be figured out by:
    XFS_ATTRSETM_LOG_RES(mp) + XFS_ATTRSETRT_LOG_RES(mp) * ext
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 762c585b187cde93bbb8cadd3cb3871bbae1b75a
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:46 2013 +0800

    xfs: make use of XFS_SB_LOG_RES() at xfs_fs_log_dummy()
    
    Make use of XFS_SB_LOG_RES() at xfs_fs_log_dummy().
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 5166ab06558cfe4a3745252a91ad6b495ba49290
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:39 2013 +0800

    xfs: make use of XFS_SB_LOG_RES() at xfs_mount_log_sb()
    
    Make use of XFS_SB_LOG_RES() at xfs_mount_log_sb().
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit e457274b60a3e3046d9451a199826281ce92023d
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:31 2013 +0800

    xfs: make use of XFS_SB_LOG_RES() at xfs_log_sbcount()
    
    Make use of XFS_SB_LOG_RES() at xfs_log_sbcount().
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit a7bd794a0f489a66ad595f2bcab0eac8f232e409
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:25 2013 +0800

    xfs: introduce XFS_SB_LOG_RES() for transactions that modify sb on disk
    
    Introduce a new transaction space reservation XFS_SB_LOG_RES() for
    those transactions that need to modify the superblock on disk.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 762d7ba657ed4a0934b4da7dcef058012f252e0f
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:21 2013 +0800

    xfs: calculate XFS_TRANS_QM_QUOTAOFF_END space log reservation at mount time
    
    Convert the calculation for end of quotaoff log space reservation
    from runtime to mount time.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit a1bd9557544d59140c4ac87fe405069b9e1aaf99
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:15 2013 +0800

    xfs: calculate XFS_TRANS_QM_QUOTAOFF space log reservation at mount time
    
    Convert the calculation of quota off transaction log space reservation
    from runtime to mount time.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 4800104438a4467ffa5ae1e51d5a59c0f64e5f9a
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:27:04 2013 +0800

    xfs: calculate XFS_TRANS_QM_DQALLOC space log reservation at mount time
    
    The disk quota allocation log space reservation is calcuated at runtime,
    this patch does it at mount time.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit f0f2df94faca43fd26f85af7e83df240777c8c37
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:26:49 2013 +0800

    xfs: calcuate XFS_TRANS_QM_SETQLIM space log reservation at mount time
    
    For adjusting quota limits transactions, we calculate out the log space
    reservation at runtime, this patch does it at mount time.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit f910a8c620e21fdb53384ad741ff9e4995cc6e67
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:26:34 2013 +0800

    xfs: calculate xfs_qm_write_sb_changes() space log reservation at mount time
    
    For the transaction that write the incore superblock changes of quota flags
    to disk, it would reserve the same log space to clear/reset quota flags
    transaction, hence we can use XFS_TRANS_SBCHANGE_LOG_RES() for it as well.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit b0c10b983a3e5cc35f239999df1b8bad1ba5b8f6
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:26:16 2013 +0800

    xfs: calculate XFS_TRANS_QM_SBCHANGE space log reservation at mount time
    
    The transaction log space for clearing/reseting the quota flags
    is calculated out at runtime, this patch can figure it out at
    mount time.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 5b292ae3a951a58e32119d73c7ac8f5bec7395a3
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Fri Feb 1 14:39:29 2013 -0600

    xfs: make use of xfs_calc_buf_res() in xfs_trans.c
    
    Refining the existing reservations with xfs_calc_buf_res() in xfs_trans.c
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 4f3b57832ba39223c6f8823d07b9fb206e282ced
Author: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date:   Mon Jan 28 21:25:35 2013 +0800

    xfs: add a helper to figure out the space log reservation per item
    
    Add a new helper xfs_calc_buf_res() to calcuate out the transaction space
    reservations per item.  xfs_buf_log_overhead() is used to figure out the
    extra space for struct xfs_buf_log_format that gets written into the log
    for every buffer as well as a log opheader, i.e. struct xlog_op_header.
    
    Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
    CC: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

-----------------------------------------------------------------------

Summary of changes:
 fs/xfs/xfs_attr.c        |   9 +-
 fs/xfs/xfs_dquot.c       |  12 +-
 fs/xfs/xfs_fsops.c       |   4 +-
 fs/xfs/xfs_mount.c       |  12 +-
 fs/xfs/xfs_mount.h       |   9 +-
 fs/xfs/xfs_qm.c          |   7 +-
 fs/xfs/xfs_qm_syscalls.c |  20 ++-
 fs/xfs/xfs_trans.c       | 376 ++++++++++++++++++++++++++++++-----------------
 fs/xfs/xfs_trans.h       |  18 ++-
 9 files changed, 291 insertions(+), 176 deletions(-)


hooks/post-receive
-- 
XFS development tree

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


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux