Skip to contentSkip to conversation

NFS writes broken in net-next-2.6

DISCUSSION Ben Hutchings 2 participants 3 messages Sep 8, 2010 2 messages not in the archive

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

In net-next-2.6, close() of a file after writing tends to return 1. This causes e.g. gcc to abort.

This appears to have been fixed in 2.6.36-rc2:

commit 0702099bd86c33c2dcdbd3963433a61f3f503901

Author: J. R. Okajima <hooanon05-/[email protected]>
Date:   Wed Aug 11 13:10:16 2010 -0400

NFS: fix the return value of nfs_file_fsync()

Please consider merging this fix in some way.

Ben.

Signature · 8 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive

From: Ben Hutchings <[email protected]>
Date: Wed, 08 Sep 2010 21:01:08 +0100

Quoted 5 lines

In net-next-2.6, close() of a file after writing tends to return 1. This causes e.g. gcc to abort.

This appears to have been fixed in 2.6.36-rc2:

Quoted 7 lines

commit 0702099bd86c33c2dcdbd3963433a61f3f503901

Author: J. R. Okajima <[email protected]>
Date:   Wed Aug 11 13:10:16 2010 -0400

NFS: fix the return value of nfs_file_fsync()

Please consider merging this fix in some way.

Ben, and please I've told you this before, if you need a specific upstream fix do your testing on a branch that pulls in Linus's tree or, alternatively, apply the fix you need by hand using "git stash" or similar.

All of this is in your own hands. You do not need me to merge in every single upstream fix you might need.

I have this issue myself when testing both the sparc tree and the various net trees all the time.

#4 lore raw
In reply to a message not in the archive
Quoted 12 lines · David Miller

From: Ben Hutchings <bhutchings-s/n/[email protected]>
Date: Wed, 08 Sep 2010 21:01:08 +0100

Quoted 9 lines

In net-next-2.6, close() of a file after writing tends to return 1. This causes e.g. gcc to abort.

This appears to have been fixed in 2.6.36-rc2:

commit 0702099bd86c33c2dcdbd3963433a61f3f503901

Author: J. R. Okajima <hooanon05-/[email protected]>
Date:   Wed Aug 11 13:10:16 2010 -0400
Quoted 5 lines
Quoted 3 lines

NFS: fix the return value of nfs_file_fsync()

Please consider merging this fix in some way.

Ben, and please I've told you this before,

I don't think so.

Quoted 4 lines

if you need a specific
upstream fix do your testing on a branch that pulls in Linus's tree or, alternatively, apply the fix you need by hand using "git stash" or similar.

[...]

Sure, that's what I'm doing. But this is likely to hit more developers than just me.

Ben.

Signature · 8 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html