Working script for adding custom GlusterFS translators

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

 



Hi Jeff,

Whipped up a script today to persistently add a custom translator to
GlusterFS volumes:

  https://github.com/justinclift/glusterflow/blob/master/filter/glusterflowfilter.sh

It uses GlusterFS's "filter" functionality for on-the-fly adjusting .vol
files whenever they're generated:

  http://www.gluster.org/community/documentation/index.php/Glusterfs-filter

My implementation is reasonably specific to adding a new "glusterflowclient"
translator, but it wouldn't be hard for anyone else to copy and make it
work with their own custom translators.

  eg. A translator to ignore requests for ._* files on OSX, or whatever :)

Sure, it's not the greatest approach... (I'm not an elegant coder :>)
but this + Glupy should give people a real world way to rapidly prototype
their own translators to add custom functionality _now_.

No need to code stuff in C, or wait for a future _nice and pretty_ way to
add custom translators. (!)

Any thoughts? :)

Regards and best wishes,

Justin Clift

--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux