Re: [NFS] Forcefully resetting a lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



J. Bruce Fields wrote:
> On Wed, Apr 16, 2008 at 10:15:19AM -0500, Wendy Cheng wrote:
>   
>> Erik Hensema / HostingXS Internet Services wrote:
>>     
>>> Hi all,
>>>
>>> Sometimes a file lock gets stuck. Is there any way on either server or  
>>> client to obtain a list of locks? Or a list of processes/clients  
>>> locking a particular file?
>>> And the million dollar question: is it possible to forcefully remove a  
>>> lock?
>>>
>>> I'm using NFSv4 on Linux 2.6.18 (server and client).
>>>
>>>   
>>>       
>> *Cough* !
>>
>> Bruce, so what happens to my lock dropping patch that was said "will get  
>> pulled into 2.6.26 kernel" ?
>>     
>
> Gulp.
>
> I started an alternative implementation, and got it to the point where
> it was basically working (but I didn't completely trust it).  And I did
> a small fix or two on your patches, but I seem to recall there were one
> or more todo's there too.
>
> Then I dropped both for a couple weeks.
>   

Be carefully. .. "a couple weeks" can turn into "a couple years" .. It 
has been more than 2 years since my first patch submission. Regardless 
the patch has been repeatedly requested and had gone thru thorough 
testings, it just sits there idling while Linux nfs server keeps 
suffering the very same issue.

Don't get too ambitious. Cluster issues are not trivial - please take 
one step at a time. The patch is very usable *and* solves an immediate 
issue *and* has a clean boundary with existing main-line logic. I really 
don't see the reason to delay it.

-- Wendy


> I'll take a harder look this afternoon....
>
> --b.
>   



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
NFS maillist  -  NFS@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued.
Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux