Diff for /xfs-linux/linux-2.6/xfs_super.c between versions 1.375 and 1.376

version 1.375, 2007/01/12 15:07:09 version 1.376, 2007/02/02 14:37:48
Line 668  xfs_fs_sync_super( Line 668  xfs_fs_sync_super(
         int                     error;          int                     error;
         int                     flags;          int                     flags;
   
         if (unlikely(sb->s_frozen == SB_FREEZE_WRITE))          if (unlikely(sb->s_frozen == SB_FREEZE_WRITE)) {
                 flags = SYNC_QUIESCE;                  /*
         else                   * First stage of freeze - no more writers will make progress
                    * now we are here, so we flush delwri and delalloc buffers
                    * here, then wait for all I/O to complete.  Data is frozen at
                    * that point. Metadata is not frozen, transactions can still
                    * occur here so don't bother flushing the buftarg (i.e
                    * SYNC_QUIESCE) because it'll just get dirty again.
                    */
                   flags = SYNC_FSDATA | SYNC_DELWRI | SYNC_WAIT | SYNC_DIO_WAIT;
           } else
                 flags = SYNC_FSDATA | (wait ? SYNC_WAIT : 0);                  flags = SYNC_FSDATA | (wait ? SYNC_WAIT : 0);
   
         error = bhv_vfs_sync(vfsp, flags, NULL);          error = bhv_vfs_sync(vfsp, flags, NULL);

Removed from v.1.375  
changed lines
  Added in v.1.376


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>