public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent GUERBY <laurent@guerby.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Subject: Re: [2.6.29-rc5][BUG] swapon on vfat file gets stuck on inode lock
Date: Wed, 11 Mar 2009 17:45:59 +0100	[thread overview]
Message-ID: <1236789959.11347.2107.camel@localhost> (raw)
In-Reply-To: <alpine.LFD.2.00.0903110837590.32478@localhost.localdomain>

On Wed, 2009-03-11 at 08:53 -0700, Linus Torvalds wrote:
> On Wed, 11 Mar 2009, Laurent GUERBY wrote:
> > With 2.6.29-rc5 (on an ARM platform but I don't think it's significant)
> > when I try to enable swap on a file which is on an USB mounted vfat
> > partition the swapon syscall gets stuck:
> 
> Oh wow. Are you _sure_ you want to do that? That's crazy.

I was testing a device with no swap (root over NFS) and GCC bootstrap
failed because of lack of RAM. So I first tried to add swap on file over
NFS, judging from various warnings on the net and that the system froze
after about 4 hours it was in the "crazy" category. After that I grabbed
an USB HDD which happened to be vfat formated, hence second freeze but
on swapon process this time.

I promise next time I'll stick to local ext3 on x86 :).

Laurent



  reply	other threads:[~2009-03-11 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 13:57 [2.6.29-rc5][BUG] swapon on vfat file gets stuck on inode lock Laurent GUERBY
2009-03-11 15:53 ` Linus Torvalds
2009-03-11 16:45   ` Laurent GUERBY [this message]
2009-03-11 17:03   ` OGAWA Hirofumi
2009-03-11 18:13     ` OGAWA Hirofumi
2009-03-11 18:19       ` Linus Torvalds
2009-03-16  8:34   ` Christoph Hellwig

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=1236789959.11347.2107.camel@localhost \
    --to=laurent@guerby.net \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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