Re: NTFS deadlock on 2.6.18.6

From: Anton Altaparmakov
Date: Wed Jan 17 2007 - 04:29:45 EST


Hi,

On Tue, 2007-01-09 at 23:52 +0300, Sergey Vlasov wrote:
[snip excellent analysis]
> Seems that grabbing i_mutex in ntfs_put_inode() is not safe after all
> (and lockdep cannot see this deadlock possibility, because one of
> waits is __wait_on_freeing_inode - not a standard locking primitive).

Inded. Thanks a lot for the report and detailed analysis! Much
appreciated.

I have been meaning to do the needed changes anyway so the new OSX and
Linux drivers are more alike but had not gotten round to it yet... Now
that I know it actually causes a deadlock I will bite the bullet and do
the changes now.

ps. Aplogies for delayed response but I was on holiday without
computers/internet access...

Best regards,

Anton

--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/