[Top] [All Lists]

Re: REVIEW: XFSQA test for CI testing

To: Barry Naujok <bnaujok@xxxxxxx>
Subject: Re: REVIEW: XFSQA test for CI testing
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 23 Jun 2008 05:39:13 -0400
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <op.uc62b6dy3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <op.uc62b6dy3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
> +/*
> + * Implement a simple hash on a character string.
> + * Rotate the hash value by 7 bits, then XOR each character in.
> + * This is implemented with some source-level loop unrolling.
> + */
> +static uint32_t xfs_da_hashname(const char *name, int namelen)

Shouldn't this be available from recent libxfs?   Except for that the
patch looks good to me.

<Prev in Thread] Current Thread [Next in Thread>