Only call bwillwrite() for regular file write()s, instead of for all write()s.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 May 2008 22:09:44 +0000 (22:09 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 May 2008 22:09:44 +0000 (22:09 +0000)
commit2494f2822149273676b704081e1f59b9d6ca7dc6
tree51fe37200aecd6ab18049b9192664fd6bf3a7a27
parent67db3a94b1b7dc93cd1df9f2838086d54cea6d8e
Only call bwillwrite() for regular file write()s, instead of for all write()s.
This stops hicuping on things like pty's and sockets during heavy file
activity.
sys/kern/sys_generic.c
sys/kern/vfs_vnops.c