HomeFreeBSD

Do not promote large async writes to sync.

Description

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.

Reviewed by: rmacklem
MFC after: 1 week

Details

Provenance
mavAuthored on
Reviewer
rmacklem
Parents
rS282880: Add copyright info missing from r282205
Branches
Unknown
Tags
Unknown