[Gluster-devel] cluster/stripe

Alexey Filin alexey.filin at gmail.com
Wed Sep 26 14:24:51 UTC 2007


Hi Amar,

On 9/26/07, Amar S. Tumballi <amar at zresearch.com> wrote:
>
> Hi Alexey,
>  Now I doubt the support of 'fnmatch()' in your library. The stripe_size
> should be '1048576'  for any file. And it worked for us in all the cases we
> tested.
>
> Can you apply another patch and see if it works?
>
> In function 'stripe_get_matching_bs ()' can you add 'return 1048576;' at
> first line and see if it works fine? This is to corner the problem to
> 'fnmatch()'.
>
-amar
>
> PS: also try printing 64bit number (%lld) itself rather than typecasting
> it while printing it.
>
>
stripe_local_t local is calloc'ed (tla 495 stripe.c:1787) so all fields are
zeroed by default, local->stripe_size is not assigned in stripe_open()

regards, Alexei



More information about the Gluster-devel mailing list