diff options
-rw-r--r-- | fs/xfs/xfs_qm.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index 1a4217e52c9f..a29169b062e3 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c | |||
@@ -707,7 +707,7 @@ xfs_qm_dquot_isolate( | |||
707 | trace_xfs_dqreclaim_want(dqp); | 707 | trace_xfs_dqreclaim_want(dqp); |
708 | list_del_init(&dqp->q_lru); | 708 | list_del_init(&dqp->q_lru); |
709 | XFS_STATS_DEC(xs_qm_dquot_unused); | 709 | XFS_STATS_DEC(xs_qm_dquot_unused); |
710 | return 0; | 710 | return LRU_REMOVED; |
711 | } | 711 | } |
712 | 712 | ||
713 | /* | 713 | /* |
@@ -753,17 +753,19 @@ xfs_qm_dquot_isolate( | |||
753 | XFS_STATS_DEC(xs_qm_dquot_unused); | 753 | XFS_STATS_DEC(xs_qm_dquot_unused); |
754 | trace_xfs_dqreclaim_done(dqp); | 754 | trace_xfs_dqreclaim_done(dqp); |
755 | XFS_STATS_INC(xs_qm_dqreclaims); | 755 | XFS_STATS_INC(xs_qm_dqreclaims); |
756 | return 0; | 756 | return LRU_REMOVED; |
757 | 757 | ||
758 | out_miss_busy: | 758 | out_miss_busy: |
759 | trace_xfs_dqreclaim_busy(dqp); | 759 | trace_xfs_dqreclaim_busy(dqp); |
760 | XFS_STATS_INC(xs_qm_dqreclaim_misses); | 760 | XFS_STATS_INC(xs_qm_dqreclaim_misses); |
761 | return 2; | 761 | return LRU_SKIP; |
762 | 762 | ||
763 | out_unlock_dirty: | 763 | out_unlock_dirty: |
764 | trace_xfs_dqreclaim_busy(dqp); | 764 | trace_xfs_dqreclaim_busy(dqp); |
765 | XFS_STATS_INC(xs_qm_dqreclaim_misses); | 765 | XFS_STATS_INC(xs_qm_dqreclaim_misses); |
766 | return 3; | 766 | xfs_dqunlock(dqp); |
767 | spin_lock(lru_lock); | ||
768 | return LRU_RETRY; | ||
767 | } | 769 | } |
768 | 770 | ||
769 | static unsigned long | 771 | static unsigned long |