[Ocfs2-devel] Patch to fix error if mount fails
Villalovos, John L
john.l.villalovos at intel.com
Wed Mar 24 18:33:17 CST 2004
Mark Fasheh wrote:
> On Tue, Mar 23, 2004 at 10:29:55AM -0800, John L. Villalovos wrote:
>> I had an issue where if the mount failed after the threads had
>> started that the thread would crash later on.
> Do you have any more info on the crash? I'd be interested in what
> the NM thread did to kill itself... Or is this that bug where
> one of the
> devices fields on a bh was not set?
Yes it was the one in the message titled:
Crash in ocfs_volume_thread
The NULL pointer is in bh->b_bdev.
>> This patch makes sure that the NM thread is terminated if the mount
>> fails and the thread has been started.
>>
>> I didn't really see an easy way to terminate the listener thread :(
> Well, it's supposed to be happening in ocfs_dismount_volume,
> which *does*
> get called if ocfs_mount_volume returns an error. Why isn't
> it happening
> there? Is it because "osb->dlm_task" hasn't been set yet?
I'm not sure?? I just noticed that when I did a "ps ax" I saw an
ocfs2lsnr (or something like that) running. This was after the mount
failed.
John
More information about the Ocfs2-devel
mailing list