lkml.org 
[lkml]   [2010]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: nfs accesses of FAT fs folders causes deadlock on lock_super
    From
    On Tue, May 4, 2010 at 3:32 AM, Christoph Hellwig <hch@infradead.org> wrote:
    > On Mon, May 03, 2010 at 10:59:42PM -0700, Fredrick Prashanth John Berchmans wrote:
    >> The box was running kernel version 2.6.27.10.
    >> 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 2.6.27.10, can it be fixed by removing the lock_super in the
    vfat_lookup.?
    Because I saw some discussions long back of regressions due to
    replacing lock_kernel by lock_super in FAT code.
    Or should the sb mutex be unlocked before calling the callback filldir
    in the __fat_readdir?

    Thanks,
    Fredrick


    \
     
     \ /
      Last update: 2010-05-04 16:11    [W:0.026 / U:0.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site