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
#1 lore raw
In reply to a message not in the archive

P=E5 fr , 05/03/2004 klokka 22:56, skreiv Shantanu Goel:

Quoted 3 lines
Quoted 1 line

Were there any other cases that I missed?

=20
The only other one I can see is nfs_writepage_sync().=20

Doh... Right you are. I shouldn't be checking code on a full stomach...

Quoted 3 lines

One more thing I just noticed in nfs_writepages(), the return status of nfs_wait_on_write_congestion() is not checked. Do we want to ignore signals here?

The return value will always be zero, since nfs_write_congestion() is called with "intr" set to 0. My gut feeling here is that pdflush et al. should ignore signals. If they don't then we will end up with a memory leak.

I'm open to being persuaded that this might be wrong, though...

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