[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <476CEC5E.9070002@abinetworks.biz>
Date: Sat, 22 Dec 2007 11:52:14 +0100
From: Gianluca Alberici <gianluca@...networks.biz>
To: linux-kernel@...r.kernel.org
Subject: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9
Hi,
Sorry for repeating but as far as i can see 2.6.23.11/12 got no changes
into NFS.
I've run into this problem 2.6.23.9. The open syscall will return
"Invalid argument" when O_TRUNC is set on existing files.
The same file can be opened for append or removed.
The evidence is for example:
mars:~# mount localhost:/opt/nfs/ /mnt/tmp
mars:~# echo "Hello" > /mnt/tmp/test-file
mars:~# echo "Hello" > /mnt/tmp/test-file
bash: /mnt/tmp/test-file: Invalid argument
mars:~# echo "Hello" > /mnt/tmp/test-file
bash: /mnt/tmp/test-file: Invalid argument
mars:~# echo "Hello" > /mnt/tmp/test-file
bash: /mnt/tmp/test-file: Invalid argument
mars:~# rm /mnt/tmp/test-file
mars:~# echo "Hello" > /mnt/tmp/test-file
mars:~# echo "Hello" > /mnt/tmp/test-file
bash: /mnt/tmp/test-file: Invalid argument
This is not present in 2.6.21.7.
How can this be fixed ?
TIA
Gianluca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists