[XFS updates] XFS development tree branch, master, updated. v2.6.38-18994-gb2ce397

[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, master has been updated
  b2ce397 Revert "xfs: fix filesystsem freeze race in xfs_trans_alloc"
      from  81463b1ca8dbd2f4f180feac3f49c7640e2b5f79 (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 b2ce39740066604288876c752d8170b3b17a21aa
Author: Alex Elder <aelder@xxxxxxx>
Date:   Mon Jul 11 09:51:44 2011 -0500

    Revert "xfs: fix filesystsem freeze race in xfs_trans_alloc"
    
    This reverts commit 7a249cf83da1813cfa71cfe1e265b40045eceb47.
    
    That commit created a situation that could lead to a filesystem
    hang.  As Dave Chinner pointed out, xfs_trans_alloc() could hold a
    reference to m_active_trans (i.e., keep it non-zero) and then wait
    for SB_FREEZE_TRANS to complete.  Meanwhile a filesystem freeze
    request could set SB_FREEZE_TRANS and then wait for m_active_trans
    to drop to zero.  Nobody benefits from this sequence of events...
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Alex Elder <aelder@xxxxxxx>

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

Summary of changes:
 fs/xfs/xfs_fsops.c |    2 +-
 fs/xfs/xfs_iomap.c |    3 ++-
 fs/xfs/xfs_mount.c |   14 +++++++-------
 fs/xfs/xfs_trans.c |   27 +++++++++++++++++----------
 fs/xfs/xfs_trans.h |   10 ++--------
 5 files changed, 29 insertions(+), 27 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