首页 > 代码库 > Glusterfs hacker guide说明

Glusterfs hacker guide说明

    Glusterfs hacker guide内容摘自如下网页,这些网页已经无法访问,故整理提供一个副本,供大家参考学习,欢迎交流。


转载资料:

[1] Translator 101 Lesson 1: Setting the Stage, http://hekafs.org/index.php/2011/11/translator-101-class-1-setting-the-stage/

[2] Translator 101 Lesson 2: init, fini, and privatecontext, http://hekafs.org/index.php/2011/11/translator-101-lesson-2-init-fini-and-private-context/

[3] Translator 101 Lesson 3: This Time For Real, http://hekafs.org/index.php/2011/11/translator-101-lesson-3-this-time-for-real/

[4] Translator 101 Lesson 4: Debugging a Translator, http://hekafs.org/index.php/2011/11/translator-101-lesson-4-debugging-a-translator/

[5] GlusterFS Translator API, http://hekafs.org/dist/xlator_api_2.html


    具体内容包含内容如下所示,详细内容可见如下链接:


Glusterfs hacker guide(一)

Glusterfs hacker guide(二)

Glusterfs hacker guide(三)



目 

 

1.... Translator101 Lesson. 1

1.1      Translator101 Lesson 1: Setting the Stage. 1

1.2      Translator101 Lesson 2: init, fini, and private context5

1.3      Translator101 Lesson 3: This Time For Real8

1.4      Translator101 Lesson 4: Debugging a Translator. 12

1.5      HackingFilesystems Is Easy. 19

2.... GlusterFS Translator API41

2.1      CallFrames and Call Stacks. 42

2.2      STACK_WINDand STACK_UNWIND.. 43

2.3      Inode andFile Descriptor Context45

3.... GlusterFSTranslator API 2. 47

3.1      Introduction. 47

3.2      DispatchTables and Default Functions. 48

3.3      STACK_WINDand STACK_UNWIND.. 49

3.4      PerRequest Context51

3.5      Inode andFile Descriptor Context52

3.6      Dictionariesand Translator Options. 54

3.7      Logging. 54

3.8      ChildEnumeration and Fan Out55

3.9      Stubs andsync calls. 56

3.9.1      GlusterFSAlgorithms: Distribution. 57

3.9.2      *cluster/replicate. 61

3.9.3      * Basicdesign. 62

3.9.4      * Algorithms. 62

3.9.5      *"pending". 64

3.9.6      * Selfheal64

3.9.7      * Inodescaling. 65

3.9.8      functioncomments. 66

3.9.9      *storage/posix. 98

3.9.10    BDB. 101



本文出自 “敏而好学” 博客,请务必保留此出处http://dangzhiqiang.blog.51cto.com/7961271/1600269

Glusterfs hacker guide说明