2006-11-15 13:33:25

by Christian

[permalink] [raw]
Subject: CIFS close with pending writes

Hello lkml!

I'm currently stressing 2.6.19-rc5-mm1 with heavy network I/O and got some
error messages. The error happens when I try to copy a 100MB file from my
local box to a remote linux samba server. Small files seem to work.

I have all extended and experimental CIFS features turned on in my .config

[ 7164.649719] CIFS VFS: close with pending writes
[ 7171.711279] CIFS VFS: close with pending writes
[ 7190.693567] CIFS does not yet support partial page writes on O_WRONLY files
[ 7190.693588] CIFS does not yet support partial page writes on O_WRONLY files
[ 7190.693600] CIFS VFS: close with pending writes
[ 7203.856594] CIFS VFS: close with pending writes
[ 7205.424574] CIFS VFS: close with pending writes
[ 7205.425757] CIFS VFS: close with pending writes
[ 7205.430222] CIFS VFS: close with pending writes
[ 7205.436116] CIFS VFS: close with pending writes
[ 7205.440158] CIFS VFS: close with pending writes
[ 7205.446539] CIFS VFS: close with pending writes
[ 7205.453028] CIFS VFS: close with pending writes
[ 7205.462338] CIFS VFS: close with pending writes
[ 7205.469488] CIFS VFS: close with pending writes
[ 7205.752217] CIFS VFS: close with pending writes
[ 7205.760608] CIFS VFS: close with pending writes
[ 7205.761586] CIFS VFS: close with pending writes
[ 7205.762634] CIFS VFS: close with pending writes
[ 7205.763552] CIFS VFS: close with pending writes
[ 7205.764498] CIFS VFS: close with pending writes
[ 7205.765873] CIFS VFS: close with pending writes
[ 7205.766927] CIFS VFS: close with pending writes
[ 7205.767859] CIFS VFS: close with pending writes
[ 7205.850464] CIFS VFS: close with pending writes
[ 7205.851408] CIFS VFS: close with pending writes
[ 7205.852340] CIFS VFS: close with pending writes
[ 7205.853489] CIFS VFS: close with pending writes
[ 7205.854384] CIFS VFS: close with pending writes
[ 7205.855424] CIFS VFS: close with pending writes
[ 7205.856765] CIFS VFS: close with pending writes
[ 7205.857814] CIFS VFS: close with pending writes
[ 7205.859788] CIFS VFS: close with pending writes
[ 7245.348850] CIFS VFS: close with pending writes
[ 7249.368251] CIFS VFS: close with pending writes
[ 7281.615974] CIFS does not yet support partial page writes on O_WRONLY files
[ 7281.615985] CIFS does not yet support partial page writes on O_WRONLY files
[ 7281.615998] CIFS VFS: close with pending writes

-Christian


Attachments:
(No filename) (2.35 kB)
config-2.6.19-rc5-mm1 (69.57 kB)
Download all attachments

2006-11-16 21:13:56

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: CIFS close with pending writes

On Wed, 15 Nov 2006 14:29:53 +0100, Christian said:

I was hitting this under 2.6.19-rc5-mm1 as well:

> [ 7190.693567] CIFS does not yet support partial page writes on O_WRONLY files

I get that one even without "heavy stressing" - just doing a CIFS mount of
a share from our NetApp and trying to copy a file onto it will trigger
this variant. 'cat /etc/motd >> /mnt/server/my_dir/foo' triggers it.
(changing the shell redirect to '1<>/mnt/server/my_dir/foo' solves THIS one,
and creates the second flavor:

> [ 7190.693600] CIFS VFS: close with pending writes

Happens every time you close a file after writing anything other than an
exact multiple of 4K.

Some quick testing indicates that this works properly under -rc5-mm2 (in fact,
I didn't report it against -mm1 because when I discovered it the other day, I
already knew -mm2 was out...)


Attachments:
(No filename) (226.00 B)