[Samba] open(2) O_DIRECT on smbmount gives EINVAL

Jeremy Allison jra at samba.org
Sun Oct 15 02:37:24 GMT 2006


On Sat, Oct 14, 2006 at 09:32:05PM -0400, tupple wrote:
> Does samba 3.0.23c not support the use of O_DIRECT?  When I try to open an 
> smbmount'd file using O_DIRECT, I get EINVAL.  I am able to use O_DIRECT 
> with no problems on a block device and nfs mounts, so I know the kernel 
> supports it.

Are you using smbfs or cifsfs ? It isn't the Samba
server side that doesn't support the O_DIRECT, this
is a client side option. I would imagine cifsfs
supports this.

Jeremy.


More information about the samba mailing list