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

Bug#799838: linux-image-3.16.0-4-amd64: NFS rename sometimes hangs for 15 seconds



On 2015-09-23 13:42:25 +0200, Vincent Lefevre wrote:
> I can simply reproduce the problem by reading the target on some
> machine, then moving a file to the target on another (Debian 8)
> machine. For instance:
> 
> cassis% echo foo > file1
> cassis% cp file1 file2
> 
> fraise% cat file2
> foo
> 
> then back on cassis (a Debian 8 machine):
> 
> cassis% time mv file1 file2
> mv file1 file2  0.00s user 0.00s system 0% cpu 15.038 total

For those affected by this bug, I've eventually found a workaround:
do a "touch" on the target before the mv.

[...]
cassis% touch file2
cassis% time mv file1 file2
mv file1 file2  0.00s user 0.00s system 54% cpu 0.007 total

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: