]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r282881: Do not promote large async writes to sync.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 May 2015 17:16:55 +0000 (17:16 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 May 2015 17:16:55 +0000 (17:16 +0000)
commit10830b4a6178fcbaf773f81b1f1e55e5450036a0
treebad5620481ddad64b57859c45aaa4b1679798171
parenta76b74343495ffd5c0934bb0e31279dd4b5bd16d
MFC r282881: Do not promote large async writes to sync.

Present implementation of large sync writes is too strict and so can be
quite slow.  Instead of doing that, execute large async write in chunks,
syncing each chunk separately.

It would be good to fix large sync writes too, but I leave it to somebody
with more skills in this area.

git-svn-id: svn://svn.freebsd.org/base/stable/9@283458 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clbio.c