Skip to contentSkip to conversation

Add write throttling to NFS client

PATCH Trond Myklebust 1 participant 1 message Mar 6, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

P=E5 fr , 05/03/2004 klokka 21:16, skreiv Shantanu Goel:

Quoted 7 lines

I was looking through fs/nfs/write.c and noticed nfs_end_data_update() is only called when a write is successful. Is that intentional? I see the potential for the update count to never be decremented in case of errors. I noticed, for comparision, operations in dir.c call it regardless of the RPC's outcome. Am I missing something?

In nfs_writepage_async()? Yep, that's a bug... Thanks for spotting it!

Were there any other cases that I missed?

Cheers,
Trond

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs