[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6334E09627481B4AA5C8DE1E69E19D3B0C1FF8A6@SSLEXCHANGE.solomonsystech.com>
Date: Wed, 1 Apr 2009 20:15:37 +0800
From: <sasin@...omon-systech.com>
To: <linux-kernel@...r.kernel.org>
Subject: mmc removal and file system access mutex
Hi,
I am running into crashes/hangs when repeatedly removing/reinserting an
MMC card while reading a file on the card. The card is automatically
unmounted on removal and remounted on insertion at the same mount point.
The hang was caused by elv_next_request in mmc_request repeatedly
presenting the same request on a dead queue. The crash is caused by the
file system read track accessing the freed request queue or some other
structure element associated with the block device that was removed.
Isn't there some form of mutex preventing this?
I am using 2.6.24 on ARM926 - sorry for using such an outdated version
:-(
Best regards,
Sasi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists