[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87zlfqohfn.fsf@devron.myhome.or.jp>
Date: Fri, 13 Mar 2009 01:05:16 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: Mikulas Patocka <mpatocka@...hat.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] deadlock when swapping to FAT
Mikulas Patocka <mpatocka@...hat.com> writes:
> swapon will deadlock when an attempt to swap to a file on FAT filesystem
> is made. swapon holds i_mutex and FAT bmap is attempting to take it again.
>
> This bug was introduced somewhere between 2.6.27 and 2.6.28.
>
> No other filesystem is taking i_mutex in bmap, so I removed it as well.
>
> Note that there are many other cases where bmap can race with truncate in
> almost all the filesystems. They don't impose an immediate threat because
> bmap can be only called by root. These problems should be solved in a
> generic way, not in individual filesystems.
Thanks. This was fixed recently with a bit different way.
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists