public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Hetze <s.hetze@linux-ag.com>
To: Avi Kivity <avi@redhat.com>
Cc: Sebastian Hetze <s.hetze@linux-ag.com>, kvm@vger.kernel.org
Subject: Re: syscall rmdir hangs with autofs
Date: Mon, 19 Jul 2010 15:45:58 +0200	[thread overview]
Message-ID: <20100719134558.C4441A005F@mail.linux-ag.de> (raw)
In-Reply-To: <4C444E78.8030907@redhat.com>

On Mon, Jul 19, 2010 at 04:09:12PM +0300, Avi Kivity wrote:
> On 07/19/2010 03:48 PM, Sebastian Hetze wrote:
>>
>>> Looks like a false alarm then.  The rmdir is waiting for the mount to
>>> flush everything to disk, which is slow and takes a while.
>>>
>>> Does it return eventually?
>>>      
>> No, it does not return within hours (>10). And the problem occurs only
>> once in a while although the system is busy every day (and night)
>> and automount is mounting/expiring frequently.
>>
>> I would expect the "/bin/umount dir" process (which is forked by
>> automount if I read the code correctly) to return only after the flush
>> is complete. So I expect the rmdir being called afterwards on an plain
>> empty directory.
>>
>> BTW: the mount is just a bind mount, so no flush should be necessary
>> anyway.
>>    
>
> It looks like VFS breakage.  Does this happen with older guest kernels?

currently I can confirm this problem with 2.6.31-22-generic-pae back to
2.6.31-16-generic-pae. What guest kernel version would you suggest?

  reply	other threads:[~2010-07-19 13:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19  8:39 syscall rmdir hangs with autofs Sebastian Hetze
2010-07-19 11:12 ` Avi Kivity
2010-07-19 11:40   ` Sebastian Hetze
     [not found]   ` <20100719114034.62BDD30303F5@mail.linux-ag.de>
2010-07-19 12:21     ` Avi Kivity
2010-07-19 12:48       ` Sebastian Hetze
2010-07-19 13:09         ` Avi Kivity
2010-07-19 13:45           ` Sebastian Hetze [this message]
     [not found]           ` <20100719134558.A0CD2A005F@mail.linux-ag.de>
2010-07-19 14:00             ` Avi Kivity
2010-07-19 14:47               ` Sebastian Hetze
     [not found]               ` <20100719144750.334F2303001B@mail.linux-ag.de>
2010-07-19 15:03                 ` Avi Kivity
2010-07-19 15:23                   ` Sebastian Hetze
     [not found]                   ` <20100719152518.641BAB001A@mail.linux-ag.de>
2010-07-19 15:28                     ` Avi Kivity
2010-07-19 15:38                       ` Sebastian Hetze
     [not found]                       ` <20100719153816.1E33FB0016@mail.linux-ag.de>
2010-07-19 17:55                         ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100719134558.C4441A005F@mail.linux-ag.de \
    --to=s.hetze@linux-ag.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox