From: Steven Scholz <steven.scholz@imc-berlin.de>
To: linux-fsdevel@vger.kernel.org
Subject: umount hangs after card removal
Date: Fri, 29 Jul 2005 16:53:00 +0200 [thread overview]
Message-ID: <42EA42CC.10505@imc-berlin.de> (raw)
Hi there,
hope this is the correct mailing list.
With 2.6.13-rc4 I see the following behaviour:
I unplug a mounted compact flash drive (without unmounting it before!)
The ide interface disappears but the partition stays mounted.
When I then try to umount the directory umount will hang.
As far as I tracked it the following happens:
~ # cardctl eject
cardmgr[227]: shutting down socket 0
cardmgr[227]: executing: './ide stop hda'
cardmgr[227]: executing: 'modprobe -r ide-cs'
~ # umount /mnt/pcmcia/
sys_umount(496)
path_release_on_umount(318)
__mntput(180)
deactivate_super(176)
generic_shutdown_super(254) calling sop->put_super @ c00ac7c8
fat_put_super(363)
fat_clusters_flush(49)
__bread_slow(1311)
__wait_on_buffer(91)
wait_on_bit(&bh->b_state, BH_Lock, sync_buffer, TASK_UNINTERRUPTIBLE);
How could one avoid this? Who's responsible to tell the FS part that the block
device disapperead?
--
Steven
reply other threads:[~2005-07-29 14:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=42EA42CC.10505@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).