[linux-cifs-client] Re: POSIX Unlink and Query Unix File Info2

Steve French smfrench at austin.rr.com
Fri Mar 9 22:34:45 GMT 2007


Jeremy Allison wrote:
> On Fri, Mar 09, 2007 at 04:26:02PM -0600, Steve French wrote:
>
>   
>> I certainly want to make sure there is a way for a client to delete the 
>> open file without break oplock
>>     
>
> I don't think you can do that. Deleting the file must
> break the oplock even with POSIX semantics (IMHO).
>
> Jeremy.
>
>   
If I have the file open and have oplock (common case), delete the file - 
posix requires that I can continue writing it ... but why in the world 
do I want to flush the whole file at that point and send all subsequent 
writes to the server?


More information about the linux-cifs-client mailing list