[Bugs] [Bug 1278565] New: samba-vfs-glusterfs reads all from a single brick in gluster replica

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 5 19:49:24 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1278565

            Bug ID: 1278565
           Summary: samba-vfs-glusterfs reads all from a single brick in
                    gluster replica
           Product: GlusterFS
           Version: 3.6.6
         Component: gluster-smb
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: aneale at omnifone.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Created attachment 1090321
  --> https://bugzilla.redhat.com/attachment.cgi?id=1090321&action=edit
testparm output for samba configuration used

Description of problem:

Using samba-vfs-glusterfs with gluster set to replica 4 all read calls
(multiple reads to/from multiple files) are served from a single brick. When
the same test is run using a fuse mount instead it reads from all replicas
resulting in higher ops/s.

samba-vfs-glusterfs:
gluster volume profile lzone info | egrep "Brick|READ$"
Brick: lzreptest001:/export/brick1/lzone
Brick: lzreptest001:/export/brick2/lzone
Brick: lzreptest002:/export/brick1/lzone
Brick: lzreptest002:/export/brick2/lzone
      1.57      51.21 us      21.00 us    2974.00 us          13815        READ

Fuse mount:
gluster volume profile lzone info | egrep "Brick|READ$"
Brick: lzreptest001:/export/brick1/lzone
      0.95     159.62 us      22.00 us   14080.00 us           7887        READ
Brick: lzreptest001:/export/brick2/lzone
      0.94     170.46 us      20.00 us    2985.00 us           7490        READ
Brick: lzreptest002:/export/brick1/lzone
      0.88     267.29 us      26.00 us   17699.00 us           7853        READ
Brick: lzreptest002:/export/brick2/lzone
      0.90     258.96 us      25.00 us   53134.00 us           7903        READ

Version-Release number of selected component (if applicable):
glusterfs-3.6.6-1.el6.x86_64
glusterfs-api-3.6.6-1.el6.x86_64
glusterfs-cli-3.6.6-1.el6.x86_64
glusterfs-fuse-3.6.6-1.el6.x86_64
glusterfs-geo-replication-3.6.6-1.el6.x86_64
glusterfs-libs-3.6.6-1.el6.x86_64
glusterfs-server-3.6.6-1.el6.x86_64

samba-4.1.17-4.el6rhs.x86_64
samba-client-4.1.17-4.el6rhs.x86_64
samba-common-4.1.17-4.el6rhs.x86_64
samba-libs-4.1.17-4.el6rhs.x86_64
samba-vfs-glusterfs-4.1.17-4.el6rhs.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. Create cluster with 2 servers, 4 bricks - replica 4 
2. Setup samba with gluster vfs 
3. Turn on gluster profile for the volume
4. mount samba on remote box and run "filebench" with the fileserver profile
5. observe results in gluster profile

Actual results:
Only a single brick used for READ calls.
gluster volume profile lzone info | egrep "Brick|READ$"
Brick: lzreptest001:/export/brick1/lzone
Brick: lzreptest001:/export/brick2/lzone
Brick: lzreptest002:/export/brick1/lzone
Brick: lzreptest002:/export/brick2/lzone
      1.57      51.21 us      21.00 us    2974.00 us          13815        READ

Expected results:
All bricks used for READ calls.
gluster volume profile lzone info | egrep "Brick|READ$"
Brick: lzreptest001:/export/brick1/lzone
      0.95     159.62 us      22.00 us   14080.00 us           7887        READ
Brick: lzreptest001:/export/brick2/lzone
      0.94     170.46 us      20.00 us    2985.00 us           7490        READ
Brick: lzreptest002:/export/brick1/lzone
      0.88     267.29 us      26.00 us   17699.00 us           7853        READ
Brick: lzreptest002:/export/brick2/lzone
      0.90     258.96 us      25.00 us   53134.00 us           7903        READ

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list