bugGluster - Bugs: bug #17295, xlator to be renamed

 
 

bug #17295: xlator to be renamed

Submitted by:  Anand Avati <avati>
Submitted on:  Thu 03 Aug 2006 06:30:19 PM UTC  
 
Category: GlusterFSSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Bad naming convention
Status: FixedPrivacy: Public
Assigned to: Anand Avati <avati>Originator Name: 
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 11 Aug 2006 07:51:29 PM UTC, comment #2:

all xlators are now in lower case.
xlators have been renamed as category/name. there is a top level category directory and sub directory for actual xlator.

summary of categories and renaming done -

1. Transport category (xport)
Brick -> xport/socket

2. Optimizers/performance booster category (steroid)
getattr -> steroid/stat-prefetch

3. Storage/File system category (storage)
Posix -> storage/posix

4. Schedulers category (sched)
Cement -> sched/unify

filter xlator is under discussion for its design still. One proposal -

--porposal--

5. Filtering category (filter)
filter/read-only
filter/hide
filter/block
filter/file-size-limit

each of those will be seperate translators under the filter category. more discussion to be done about chaining of multiple xlators of filter or group them into one (and effect of both approaches) to be done.
--end-proposal--

since all translators so far are following the discipline of declaring all functions static there is no namespace issues (yet).

all inner variable and function names are to be renamed by
translator authors to follow the new naming convention

Anand Avati <avati>
Project MemberIn charge of this item.
Thu 03 Aug 2006 08:53:19 PM UTC, comment #1:

should update -

  • Makefile.am (all of them)
  • configure.ac
  • rename directories
  • rename files
Anand Avati <avati>
Project MemberIn charge of this item.
Thu 03 Aug 2006 06:30:19 PM UTC, original submission:

xlator names should be of the type 'Category-Name'

Brick => 'Transport-Socket'
Posix => 'FS-Posix'
Cement => 'Sched-Union'

Anand Avati <avati>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 11 Aug 2006 07:51:29 PM UTCavatiStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 04 Aug 2006 09:01:34 PM UTCavatiAssigned togowda=>avati
Thu 03 Aug 2006 08:53:19 PM UTCavatiAssigned toNone=>gowda

Back to the top


Powered by Savane 3.1-cleanup1