lkml.org 
[lkml]   [2010]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    Subjectnfs accesses of FAT fs folders causes deadlock on lock_super
    From
    Hi,

    A FAT fs folder was shared using nfs. Accessing it over nfs causes
    deadlock on lock_super since
    it is acquired by both __fat_readdir and vfat_lookup in the following
    call chain.

    Call chain
    #lock_super <----causes deadlock
    #vfat_lookup
    #__lookup_hash
    #lookup_one_len
    #compose_entry_fh
    #encode_entry
    #nfs3svc_encode_entry_plus
    #__fat_readdir <---does lock_super
    #fat_readdir
    #vfs_readdir
    #nfsd_readdir
    #nfsd3_proc_readdirplus
    #nfsd_dispatch
    #svc_process
    #nfsd


    Is lock_super needed in the vfat_lookup?
    Can it be removed?

    The box was running kernel version 2.6.27.10.
    But I think the FAT code has not changed much.

    Thanks,
    Fredrick


    \
     
     \ /
      Last update: 2010-05-04 08:03    [W:0.021 / U:29.688 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site