[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gluster-devel] Working script for adding custom GlusterFS translators
From: |
Justin Clift |
Subject: |
[Gluster-devel] Working script for adding custom GlusterFS translators |
Date: |
Sun, 16 Jun 2013 01:03:16 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gluster-devel] Working script for adding custom GlusterFS translators,
Justin Clift <=