From: Fredrick Prashanth John Berchmans <fredrickprashanth@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: fredrickprashanth@gmail.com
Subject: nfs accesses of FAT fs folders causes deadlock on lock_super
Date: Mon, 3 May 2010 22:59:42 -0700 [thread overview]
Message-ID: <x2gd4f60c3c1005032259p8be864bcucff91618016a0eb@mail.gmail.com> (raw)
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
next reply other threads:[~2010-05-04 5:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 5:59 Fredrick Prashanth John Berchmans [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x2gd4f60c3c1005032259p8be864bcucff91618016a0eb@mail.gmail.com \
--to=fredrickprashanth@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®