gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Client side translators doubt


From: Jeff Darcy
Subject: Re: [Gluster-devel] Client side translators doubt
Date: Wed, 16 Jan 2013 14:51:39 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

On 01/16/2013 02:21 PM, Stephan von Krawczynski wrote:
> rename ".glusterfs" in ".glusterfs-<brickname>" in source

Changing something from a constant to a context-dependent variable is a
bit more complicated than that.  There are nine places where this path
is used as HIDDEN_PATH, ten where it's used as HANDLE_PFX, and a couple
of others.  All of those would have to change, plus we'd have to add
code to ensure uniqueness of brick names, etc.  It's orders of magnitude
less work than putting something in the kernel (for example), but at the
same time it's more than a single change and recompile . . . all to
avoid creating a couple of subdirectories.  That seems like a rather
poor use of everyone's time.

> make ".glusterfs" a dir and store brick-private information in a file
> <brickname> and global (shared) information in a file "global".

Maybe you should look at what's already in there and how it's used
before you assume that it could (or should) all be contained in two
plain files.  Neither anonymous file handles nor the index translator
fit such a model.



reply via email to

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