1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-07 03:48:44 +01:00
Files
glusterfs/doc/developer-sessions
Pranith Kumar Karampuri d3af082a68 Doc: Developer session 13-15 (#2856)
These sessions cover replication xlator introduction, update, read
transactions along with normal fops both explanation and code
walkthrough

Change-Id: Ic895b02aa2a7021bd423f0b407ff90951ceebc69
updates: #2308
Signed-off-by: Pranith Kumar K <pranith.karampuri@phonepe.com>
2021-10-11 23:15:12 +05:30
..
2021-10-11 23:15:12 +05:30

Table of Contents

  1. Disk Filesystems - video - slides
    This session covers the concepts of disk filesystems that are important to understand glusterfs.

  2. 1 Layer above Disk Filesystems(Posix) - video - slides
    This session covers how posix xlator converts File Operations(FOPs) in glusterfs to system calls on the underlying disk filesystems.
    Following internal data structures are discussed as part of the session.

    • inode_t
    • dentry_t
    • fd_t
  3. Xlator interface - video - slides
    This session covers xlator interface in glusterfs which is how all functionality/modules are divided into in glusterfs.

  4. Programming Model - video - slides
    This session covers programming model used in glusterfs along with the data structures used to achieve it.

  5. inode_t, fd_t lifecycles - video - slides
    This session covers lifecycles of inode_t and fd_t data structures. Debugging ref leaks for these structures is also briefly covered.

  6. Understanding Gluster's communication layer - video - slides
    This session covers Gluster's communication layer. How XDR is used to serialize/deserize data in rpc calls from pov of both client and server xlators.

  7. Client-Server interactions - video - slides
    Client, server interactions for connecting/disconnecting/reconnecting are covered in this session

  8. Memory tracking in glusterfs, io-threads xlator - video - slides

    • Memory tracking infra and how statedumps are used to debug memory leaks is covered
    • io-threads xlator implementation is covered.
  9. Index xlator - video - slides
    Index xlator design and implementation are covered in this session.

  10. Locks xlator inodelks - video - slides

    • Gives brief introduction about the purpose of this xlator
    • Introduces and code walkthrough of inodelk part of locks xlator
  11. Locks xlator entrylks - video - slides

    • Introduces and code walkthrough of entrylk part of locks xlator
    • Explains the connection between entrylk and inodelk in deletion code paths
  12. Replication xlator introduction - video - slides

    • Replicate xlator graph placement
    • On-disk data representation
    • On-disk data manipulation with xattrop
    • Common functioning of fops
    • Lookup
    • Open
    • readdir/readdirp
    • Flush
    • Statfs
  13. Replication update transaction - video - slides

    • Update transaction
    • Data/Metadata operation
    • Optimizations to reduce the network communication
  14. Replication optimizations & Read transaction - video - slides

    • read transaction
    • Handling of faults by the transaction
    • Load balancing strategies