public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nfs accesses of FAT fs folders causes deadlock on lock_super
@ 2010-05-04  5:59 Fredrick Prashanth John Berchmans
  2010-05-04 10:32 ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Fredrick Prashanth John Berchmans @ 2010-05-04  5:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: fredrickprashanth

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-04 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04  5:59 nfs accesses of FAT fs folders causes deadlock on lock_super Fredrick Prashanth John Berchmans
2010-05-04 10:32 ` Christoph Hellwig
2010-05-04 14:05   ` Fredrick Prashanth John Berchmans
2010-05-04 18:37     ` OGAWA Hirofumi
2010-05-04 18:01   ` Fredrick Prashanth John Berchmans
2010-05-04 18:41     ` OGAWA Hirofumi
2010-05-04 19:43       ` Fredrick Prashanth John Berchmans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox