Re: Process hangs copying large file to cifs

From: Nuno Ferreira
Date: Thu Aug 12 2004 - 15:09:29 EST


On Sex, 2004-08-13 at 01:34 -0500, Steve French (IBM LTC) wrote:
> Your log entries indicate that the socket was dead, so the patch you hand applied for hashing of inodes
> appears unrelated.

I just mentioned the previous problem because the behaviour was pretty
much the same as before, long times of no TCP traffic, intermittent
freezes apparently of all the processes trying to do IO to the disk.

> Many (including myself copy) much larger files regularly via CIFS.

It appears (purely speculation, no hard facts to back it up) related to
memory pressure, it doesn't happen with smaller files (my laptop has
512Mb) and it happens less often on the second copy if the file fits on
cache.

> I don't know
> whether the best approach is to backport the other fixes that could affect this code path to your kernel
> so we can see if this is a current problem in some recovery path or has already been fixed. There are
> only three to four global changes in the kernel (that hit the fs/cifs directory) since 2.6.6 that would
> have to be dealt with to compile the current 2.6.8 fs/cifs directory on an older 2.6.6 kernel.

I'm running 2.6.7, are the changes contained in 2.6.8-rc(something)? I
cant try them or an -mm kernel if you prefer.

--
Nuno Ferreira

-
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/