* is 'umount' asynchronous?
@ 2010-09-08 0:12 Ben Greear
2010-09-08 17:19 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2010-09-08 0:12 UTC (permalink / raw)
To: linux-nfs@vger.kernel.org
While testing NFSv4 over TCPv6 on 2.6.36-rc3 + my srcaddr= patch today,
I noticed that I was getting 'busy' errors from umount if I closed a
file in a program and then had it immediately system("umount ...");
If I retry the umount a few times, it will start returning 'already unmounted'.
It took around 50-100ms (I was sleeping 50ms between umount attempts).
Is that expected behaviour? Seems we never needed any retries and never
got 'busy' on 2.6.34 and earlier.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: is 'umount' asynchronous?
2010-09-08 0:12 is 'umount' asynchronous? Ben Greear
@ 2010-09-08 17:19 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2010-09-08 17:19 UTC (permalink / raw)
To: Ben Greear; +Cc: linux-nfs@vger.kernel.org
On Tue, Sep 07, 2010 at 05:12:17PM -0700, Ben Greear wrote:
> While testing NFSv4 over TCPv6 on 2.6.36-rc3 + my srcaddr= patch today,
> I noticed that I was getting 'busy' errors from umount if I closed a
> file in a program and then had it immediately system("umount ...");
>
> If I retry the umount a few times, it will start returning 'already unmounted'.
> It took around 50-100ms (I was sleeping 50ms between umount attempts).
>
> Is that expected behaviour? Seems we never needed any retries and never
> got 'busy' on 2.6.34 and earlier.
I've had this:
# ARGH: getting a spurious EBUSY on some
# umounts; this helps:
sleep 1;
in my test scripts for a while, and haven't tried to investigate why
it's happening. (Checking git logs: I added that in July 2008.)
--b.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-08 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 0:12 is 'umount' asynchronous? Ben Greear
2010-09-08 17:19 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox