NetBSD-Bugs archive

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

Re: kern/48135: Bad locking for umount



The following reply was made to PR kern/48135; it has been noted by GNATS.

From: Michael van Elst <mlelstv%serpens.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/48135: Bad locking for umount
Date: Thu, 22 Aug 2013 19:42:37 +0200

 On Thu, Aug 22, 2013 at 10:40:00AM +0000, J. Hannken-Illjes wrote:
 
 >  Btw.: I'm not able to reproduce this error here -- what exactly is
 >        your setup (amd configuration etc.)
 
 It's a dual core amd64 machine that mounts an NFS server.
 
 [global]
 restart_mounts    = yes
 map_type          = file
 search_path       = /etc/amd
 dismount_interval = 3
 cache_duration    = 3
 auto_attrcache    = 1
 log_options       = all
 
 [ /a ]
 map_name      = pussyfoot
 
 and the map:
 
 source \
        -type:=nfs;opts:=rw,nosuid,nodevs,intr,nfsv3,readdirplus,proto=tcp \
        rhost:=fud;rfs:=/d/1
 
 The race condition happens after setting auto_attrcache=1, but it might
 have been triggered before.
 
 The "fix" prevents this race, but it surely opens others.
 
 
 Greetings,
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index