[Bugs] [Bug 1187372] New: Samba "use sendfile" is incompatible with GlusterFS libgfapi vfs_glusterfs.

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 29 22:05:16 UTC 2015


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

            Bug ID: 1187372
           Summary: Samba "use sendfile" is incompatible with GlusterFS
                    libgfapi vfs_glusterfs.
           Product: GlusterFS
           Version: 3.6.1
         Component: libgfapi
          Assignee: bugs at gluster.org
          Reporter: jbyers at stonefly.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Samba "use sendfile" is incompatible with GlusterFS libgfapi vfs_glusterfs.

When using Windows 2012R2 to copy a large file from one Samba
shared GlusterFS volume to another, when the GlusterFS
libgfapi vfs_glusterfs interface is used, and the Samba "use
sendfile" option is enabled, the copy will fail, and the
'smbd' server process will die:

  [2015/01/29 11:43:20.739455,  0, pid=11700]
  ../source3/smbd/smb2_read.c:225(smb2_sendfile_send_data)
  smb2_sendfile_send_data: sendfile failed for file
  isos/CD8.0.1.6.iso (Operation not supported). Terminating

However, the same works fine when either the "use sendfile"
option is disabled, or when it is enabled and GlusterFS FUSE
mounts are used instead of vfs_glusterfs.

This was while using versions Gluster 3.6.2, and Samba 4.1.16.

It is unclear if the vfs_glusterfs interface can even support
sendfile(), but ideally, if not, it should know this, and the
'smbd' process wouldn't die.

-- 
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