Re: [PATCH 13/18] xfs: remove buftarg hash for external devices

Alex Elder
2010-09-14T22:29:50Z

On Tue, 2010-09-14 at 20:56 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@redhat.com>
>
> For RT and external log devices, we never use hashed buffers on them
> now. Remove the buftarg hash tables that are set up for them.
>
> Signed-off-by: Dave Chinner <dchinner@redhat.com>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> ---
> fs/xfs/linux-2.6/xfs_buf.c | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)

Looks good.

Reviewed-by: Alex Elder <aelder@sgi.com>

> diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
> index 304515b..1c6206e 100644
> --- a/fs/xfs/linux-2.6/xfs_buf.c
> +++ b/fs/xfs/linux-2.6/xfs_buf.c
> @@ -1456,7 +1456,11 @@ xfs_alloc_bufhash(
> {
> unsigned int i;