Re: Re [2]: [PATCH] Mark CONFIG_UFS_FS_WRITE as BROKEN

From: Andrew Morton
Date: Thu Feb 02 2006 - 18:36:40 EST


Evgeniy Dushistov <dushistov@xxxxxxx> wrote:
>
> On Wed, Feb 01, 2006 at 02:46:34AM +0300, Alexey Dobriyan wrote:
> > Copying files over several KB will buy you infinite loop in
> > __getblk_slow(). Copying files smaller than 1 KB seems to be OK.
> > Sometimes files will be filled with zeros. Sometimes incorrectly copied
> > file will reappear after next file with truncated size.
> The problem as can I see, in very strange code in
> balloc.c:ufs_new_fragments. b_blocknr is changed without "restraint".
>
> This patch just "workaround", not a clear solution. But it helps me
> copy files more than 4K. Can you try it and say is it really help?

Thanks for working on this. I won't apply these two patches at this stage
as things don't seem to be finalised. But if you and Alexey could come up
with some final thing which resurrects UFS write support, that'd be great.
-
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/