[lkml]   [2010]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: nfs accesses of FAT fs folders causes deadlock on lock_super
Fredrick Prashanth John Berchmans <> writes:

> On Tue, May 4, 2010 at 3:32 AM, Christoph Hellwig <> wrote:
>> On Mon, May 03, 2010 at 10:59:42PM -0700, Fredrick Prashanth John Berchmans wrote:
>>> The box was running kernel version
>>> But I think the FAT code has not changed much.
>> But the nfsd code has and now doesn't call lookup from the filldir
>> callback anymore.
> Ah..I just noticed the changes in the nfsd code.
> But in, can it be fixed by removing the lock_super in the
> vfat_lookup.?

Basically, yes.

> Because I saw some discussions long back of regressions due to
> replacing lock_kernel by lock_super in FAT code.

Yes. Current way is ultra safer side to convert BKL. Another side was
just to remove BKL. However, at least for now, we are using current way.

So, if current way had a problem, just remove it instead of trying to
fix (then, review).

OGAWA Hirofumi <>

 \ /
  Last update: 2010-05-04 20:41    [W:0.069 / U:7.548 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site