Only call bwillwrite() for regular file write()s, instead of for all write()s.
commit4dcaec982e1aabc639dd4b5c296afd8e42f9b310
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 May 2008 22:09:44 +0000 (5 22:09 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 May 2008 22:09:44 +0000 (5 22:09 +0000)
treedec9ccee763f990071e1e7b7dfe0094d92a5edaa
parent80081fd46360d911abff2ca699aeeefb14cd4437
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