Re: Multiple rules in a ruleset: any examples? Which rule wins?

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

 



On Thu, Nov 13, 2014 at 2:58 PM, Anthony Alba <ascanio.alba7@xxxxxxxxx> wrote:
> Hi list,
>
>
> When there are multiple rules in a ruleset, is it the case that "first
> one wins"?
>
> When will a rule faisl, does it  fall through to the next rule?
> Are min_size, max_size  the only determinants?
>
> Are there any examples? The only examples I've see put one rule per
> ruleset (e.g. the docs have a ssd/platter example but that shows 1
> rule per ruleset)

The intention of rulesets is that they are used only for pools of
different sizes, so the behavior when you have multiple rules which
match to a given size is probably not well-defined.

That said, even using multiple rules in a single ruleset is not well
tested and I believe the functionality is being removed in the next
release. I would recommend against using them.
-Greg
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux