diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-12-02 00:31:13 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2010-12-02 00:31:13 -0500 |
commit | 821eb21d97a8b686649c08b7284d0b9f34d0e138 (patch) | |
tree | c1123769b0b12cd8b7a816786881ce2d147d88e5 /fs/xfs/xfs_inode.c | |
parent | 430cbeb86fdcbbdabea7d4aa65307de8de425350 (diff) |
xfs: connect up buffer reclaim priority hooks
Now that the buffer reclaim infrastructure can handle different reclaim
priorities for different types of buffers, reconnect the hooks in the
XFS code that has been sitting dormant since it was ported to Linux. This
should finally give use reclaim prioritisation that is on a par with the
functionality that Irix provided XFS 15 years ago.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 43ffd9079106..be7cf625421f 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -887,7 +887,7 @@ xfs_iread( | |||
887 | * around for a while. This helps to keep recently accessed | 887 | * around for a while. This helps to keep recently accessed |
888 | * meta-data in-core longer. | 888 | * meta-data in-core longer. |
889 | */ | 889 | */ |
890 | XFS_BUF_SET_REF(bp, XFS_INO_REF); | 890 | xfs_buf_set_ref(bp, XFS_INO_REF); |
891 | 891 | ||
892 | /* | 892 | /* |
893 | * Use xfs_trans_brelse() to release the buffer containing the | 893 | * Use xfs_trans_brelse() to release the buffer containing the |