gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] regex in switch scheduler


From: Amar S. Tumballi
Subject: Re: [Gluster-devel] regex in switch scheduler
Date: Sat, 5 Apr 2008 09:07:00 -0700

It should work for complete path. So, you can give options like below and
get the desired effect. it internally uses 'fnmatch' call, and it supports
whatever that call supports. 'man fnmatch' should help you to find more.

Regards,
Amar

On Fri, Apr 4, 2008 at 11:57 PM, Dr Rodney G. McDuff <address@hidden>
wrote:

> Does the regex using in the switch scheduler only apply to the filename
> of the file or it whole path. For instance suppose I wanted to unify a
> bunch of remote bricks in some AFR seta and a stripe set. like:
>
> volume unify
>  type cluster/unify
>  option scheduler switch
>  option switch.case */fast/*:stripe;*:afr0,afr1
>  option namespace remote-ns
>  subvolumes afr0 afr1
> end-volume
>
> so that working in or below the directory /mnt/glusterfs/.../fast would
> provide high io rate scratch area and working anywhere else will provide
> high availability.
>
> --
> Dr. Rodney G. McDuff                 |Ex ignorantia ad sapientiam
> Manager, Strategic Technologies Group|    Ex luce ad tenebras
> Information Technology Services      |
> The University of Queensland         |
> EMAIL: address@hidden          |
> TELEPHONE: +61 7 3365 8220           |
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Supercomputing and Superstorage!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]