Re: UDF madness

2005-01-29 Thread Christoph Hellwig
On Wed, Jan 26, 2005 at 08:11:41PM -0800, Andrew Morton wrote: > Yes, me too. generic_shutdown_super() takes lock_super(). And udf uses > lock_super for protecting its block allocation data strutures. Trivial > deadlock on unmount. > > Filesystems really shouldn't be using lock_super() for inte

Re: UDF madness

2005-01-27 Thread Christoph Hellwig
> Yes, me too. generic_shutdown_super() takes lock_super(). And udf uses > lock_super for protecting its block allocation data strutures. Trivial > deadlock on unmount. > > Filesystems really shouldn't be using lock_super() for internal purposes, > and the main filesystems have been taught to n

Re: UDF madness

2005-01-27 Thread Al Viro
On Thu, Jan 27, 2005 at 09:30:04AM +, Stephen C. Tweedie wrote: > Hi, > > On Thu, 2005-01-27 at 07:57, Al Viro wrote: > > > Note that fs users of file_fsync() are definitely not going to be > > involved into contention here - they need opened file => held active > > reference to superbloc

Re: UDF madness

2005-01-27 Thread Stephen C. Tweedie
Hi, On Thu, 2005-01-27 at 07:57, Al Viro wrote: > Note that fs users of file_fsync() are definitely not going to be > involved into contention here - they need opened file => held active > reference to superblock. > So we are left only with fs-internal asynchronous callers of > lock_

Re: UDF madness

2005-01-26 Thread Al Viro
On Wed, Jan 26, 2005 at 08:11:41PM -0800, Andrew Morton wrote: > Yes, me too. generic_shutdown_super() takes lock_super(). And udf uses > lock_super for protecting its block allocation data strutures. Trivial > deadlock on unmount. > > Filesystems really shouldn't be using lock_super() for inte

Re: UDF madness

2005-01-26 Thread Andrew Morton
Attila Body <[EMAIL PROTECTED]> wrote: > > I've spent some time (2 weekwnds) on this issue, while I was able to > realize that not the packet-writing but the UDF driver is broken > > here is the recipie to reproduve the issue: > > dd if=/dev/zer of=udf.img bs=1024k count=3000 > mkudffs udf.im

UDF madness

2005-01-25 Thread Attila Body
Hi, I've spent some time (2 weekwnds) on this issue, while I was able to realize that not the packet-writing but the UDF driver is broken here is the recipie to reproduve the issue: dd if=/dev/zer of=udf.img bs=1024k count=3000 mkudffs udf.img mount -o loop udf.img /mnt/tmp cd /mnt/tmp tar xjvf