]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/xfs_trans_ail.c
[GFS2] Patch to protect sd_log_num_jdata
[linux-2.6-omap-h63xx.git] / fs / xfs / xfs_trans_ail.c
index 558c87ff0c41faeea2da96536da6cf250c2e095d..ceb4f6e999608ea25e3984e7d4e5100ed9a75c1b 100644 (file)
@@ -90,7 +90,7 @@ xfs_trans_push_ail(
        int                     flush_log;
        SPLDECL(s);
 
-#define        XFS_TRANS_PUSH_AIL_RESTARTS     10
+#define        XFS_TRANS_PUSH_AIL_RESTARTS     1000
 
        AIL_LOCK(mp,s);
        lip = xfs_trans_first_ail(mp, &gen);
@@ -276,7 +276,7 @@ xfs_trans_update_ail(
        xfs_mount_t     *mp,
        xfs_log_item_t  *lip,
        xfs_lsn_t       lsn,
-       unsigned long   s)
+       unsigned long   s) __releases(mp->m_ail_lock)
 {
        xfs_ail_entry_t         *ailp;
        xfs_log_item_t          *dlip=NULL;
@@ -328,7 +328,7 @@ void
 xfs_trans_delete_ail(
        xfs_mount_t     *mp,
        xfs_log_item_t  *lip,
-       unsigned long   s)
+       unsigned long   s) __releases(mp->m_ail_lock)
 {
        xfs_ail_entry_t         *ailp;
        xfs_log_item_t          *dlip;