Bluehost.com Web Hosting $6.95

Re: [Samba] incorrect shared access to the file - samba oplock bug?

This is a discussion on Re: [Samba] incorrect shared access to the file - samba oplock bug? within the Samba forums, part of the Networking and Network Related category; On Thu, Sep 15, 2005 at 03:31:49PM +0400, Jablonovsky Alexander wrote: > I have tried to read a ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-16-2005
Jeremy Allison
 
Posts: n/a
Default Re: [Samba] incorrect shared access to the file - samba oplock bug?

On Thu, Sep 15, 2005 at 03:31:49PM +0400, Jablonovsky Alexander wrote:
> I have tried to read a file from a Windows machine, at time this file
> being written from a Linux machine with Samba (constantly reading
> constantly growing file) and got a strange behavior. After reading some
> number of bytes ReadFile() starts to return 0 bytes read (EOF). Seeking
> and even closing/reopening the file doesn't help - only the old snapshot
> of the file can be read. Touching the file from other program like
> Explorer has effect - Windows refreshes the file to it's current state.


oplocks - either use kernel oplocks or turn off oplock support in Samba.
Also to do this correctly you need byte range lock coordination between
the reading and writing app.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0